Section Tag - <section>

This lesson discusses the Section <section> tag and its usage in web development.

This tag is used to define a section of the document. It is usually used to group related content together such as articles, blog posts, or product listings.

<section>
    <h2>Section 1</h2>
    <p>Content for section 1 goes here.</p>
</section>

<section>
    <h2>Section 2</h2>
    <p>Content for section 2 goes here.</p>
</section>

<section>
    <h2>Section 3</h2>
    <p>Content for section 3 goes here.</p>
</section>

The above code shows an example of the <section> tag. This tag is used to define a section of the document, which can contain related content such as headings and paragraphs.