A
A
Alex Sht2016-08-29 18:38:15
Database
Alex Sht, 2016-08-29 18:38:15

Is it correct to use headers in H in li lists?

Dear experts, is it semantically correct to use headings in lists?

<ul>
 	<li><h2>headline 1</h2></li>
 	<li><h2>headline 2</h2></li>
 	<li><h2>headline 3</h2></li>
 	<li><h2>headline 4</h2></li>
</ul>

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander Taratin, 2016-06-19
@Taraflex

Based
1) text lines, several columns
4) selections can be on any column
5) I don’t use indexes, because all the data is a line
sphinxsearch.com

F
Fixid, 2016-06-19
@Fixid

I use in production:
Resid cluster, quickly and easily scalable and customizable, maximum speed. NoSQL
MariaDB 10, XtraDB instead of InnoDB, Aria instead of MyISAM. Very fast with minimal load, fully MySQL compatible syntax, as it is a fork with patches from Google and others

P
Pavel Torbeev, 2016-08-29
@glizer

It is not entirely clear for what purpose. The title is for that and the title to stand in the head of something.
In your case, more like a list, not a title /
I would recommend avoiding such options

R
riot26, 2016-08-29
@riot26

No, not true. You can designate the entire menu as a title:

<nav>
    <h2>Письма</h2>
    <ul>
        <li>Входящие</li>
        <li>Отправленные</li>
        <li>Черновики</li>
        <li>Спам</li>
    </ul>
</nav>

Also notice the nav tag . The title should describe some content on the page.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question