N
N
nevro2018-02-09 10:46:27
HTML
nevro, 2018-02-09 10:46:27

Did I understand the use of section, article correctly?

Hello.
I'm trying to make a one-pager with logical blocks under each other: "services", "about us", "contacts" - something like that. I read about the use of these tags, but there are still doubts - as if there is no single correct solution.

<body>
   <section>
        <article class = "header">
            <header>
                НАЗВАНИЕ
            </header>
            <h2>Подзаголовок блока<h2/>
                 Текст блока
        </article>

        <article class = "services">
            <header>
                УСЛУГИ
            </header>
            <h2>Подзаголовок блока<h2/>
                  Текст блока
        </article>
   </section>
<body>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jaroslaw Goszowski, 2018-02-09
@goszowski

- main
- - h1
- - section
- - - h2
- - - p
- - section
- - - h2
- - - p
- - section
- - - h2
- - - p

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question