SyntaxStudy
Sign Up
Home HTML Reference <section>

<section>

tag HTML5

Represents a standalone section of content. Should typically have a heading.

Syntax

<section> ... </section>

Example

html
<main>
    <section id="features">
        <h2>Features</h2>
        <p>Our product features...</p>
    </section>
    <section id="pricing">
        <h2>Pricing</h2>
        <p>Choose a plan...</p>
    </section>
</main>