Here is brief description of Sectioning Elements of HTML 5:
<header>
:
- Represents the header of a section or a page.
- Typically includes headings, logos, navigation menus, and other introductory content.
Example:
<footer>
:
- Represents the footer of a section or a page.
- Contains information such as copyright notices, contact information, and links to related content.
Example:
<nav>
:
- Represents a navigation menu.
- Typically used to contain links that navigate to different sections of the website.
Example:
<article>
:
- Represents a self-contained piece of content that could be distributed and reused independently.
- Examples include blog posts, news articles, or forum posts.
Example:
<section>
:
- Represents a generic section of a document.
- Often used to group related content together.
Example:
<main>
:
- Represents the main content of the document.
- Replaces the need for a
<div>
with theid
of “main.”
Example:
<aside>
:
- Represents content that is tangentially related to the content around it.
- Often used for sidebars, pull quotes, or related links.
Example: