Content sectioning tags in HTML
- <address>
- <aside>
- <article>
- <header>
- <footer>
- <h1> to <h6> all heading tags
- <main>
- <nav>
- <section>
<address> tag
This tag indicates about enclosing tag contain contact informatioin, address about person, people’s, and organisation.
Example
<address> 24 Floor, Gandhi Road Delhi. </address>
<aside> tag
This tag indicates the enclosing tag contains information that is indirect to the main content.
Example
<aside> Find best resource at https://www.www.capscomtechnology.com </aside>
<article> tag
This tag can be used to show forum posts, blog posts, and stories.
Example
<article> …. here can write story, post </article>
<header> tag
This tag contains introductory information about the web page and company logo, search form, etc.
Example
<header> <h1>FreeCodePoint.com</h1> </header>
<footer> tag
This tag contains website copyright data, about the author, links to related documents.
Example
<footer> 2020 All rights are reserved. </footer>
<h1> to <h6> heading tags
Heading tags are used to writing the heading of web pages. <h1> is top-level heading and <h6> is lower-level heading.
Example
<h1>Heading1</h1> <h2>Heading2</h2> <h3>Heading3</h3> <h4>Heading4</h4> <h5>Heading5</h5> <h6>Heading6</h6>
<main> tag
This tag contains the dominant content of the body of a document.
<nav> tag
This tag represent a section that contains navigation links.
Example
<nav> <a href=’/login’>Login</a> <a href=’/register’>Register</a> </nav>
<section> tag
Represents a section of the web page.
Example
<section> A part of section </section>