when to use html section code example
Example 1: section tag in html
Section tag defines the section of documents such as chapters, headers, footers
or any other sections. The section tag divides the content into section and
subsections. ... Section tag grouped the generic block of related contents.
Example 2: section tag in html
<section>
<h1>Heading</h1>
<p>Bunch of awesome content</p>
</section>