HTML section tag

Last Updated on April 26, 2023 by Roshan Parihar

HTML section tag is used to show sections of content in webpages.


Syntax

Output

specification one

This is the paragraph in section one

specification two

This is the span content in section two

The example contains two sectional content. The first section with id one, showing HTML h3 tag and HTML paragraph tag. Second sectional content with id two, showing HTML h2 tag and HTML span tag.


Resources and References of HTML section tag

1. W3C Specification.
2. HTML living standard
3. W3C project using Github