M
M
mumus2017-08-30 17:39:15
HTML
mumus, 2017-08-30 17:39:15

Proper use of HTMl5 markup, document outline and search engines?

Gentlemen, I read the HTML5 specification a little, I almost broke my head, or broke it =)
I'm interested in the correct structuring of the document, in particular, viewing its OUTLINE and do search engines pay attention to how the document structure looks in Outline?
For example, there is an empty page with the following code:

<body>
    <header>
        <nav><h1>nav</h1></nav>
    </header>

    <main>
        <h1>main</h1>
    </main>

    <footer>
        <h1>footer</h1>
    </footer>
</body>

Any document Outliner will show this structure:
1. Untitled BODY
    1.nav
2. main
3. footer

From this it turns out that the main section of the document is NOT titled? How does the search engine see it?
If we put h1 in BODY or its immediate HEADER:
<body>
    <h1>Я заголовок документа</h1>
    <header>
        <nav><h1>nav</h1></nav>
    </header>

    <main>
        <h1>main</h1>
    </main>

    <footer>
        <h1>footer</h1>
    </footer>
</body>

then we get:
1. Я заголовок документа
    1.nav
2. main
3. footer

Also, if there are structural tags like ARTICLE or SECTION that everyone loves without headings inside, then OUTLINER will also swear and write:
"Untitled Section"
Who thinks about this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question