Section Element

suggest change

The <section> element represents a generic section to thematically group content. Every section, typically, should be able to be identified with a heading element as a child of the section.

If you need a container to apply styling, use a <div> instead.

In the following example, we’re displaying a single blog post with multiple chapters each chapter is a section (a set of thematically grouped content, which can be identified by the heading elements in each section).

        <h2>Blog Post</h2>
    <p>An introduction for the post.</p>
        <h3>Chapter 1</h3>
        <h3>Chapter 2</h3>
        <h3>Comments</h3> ...


Developers should use the article element when it makes sense to syndicate the contents of the element.

Click here to read the official HTML5 Specification for the <main> element

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents