Purpose:
Defines introductory content, often containing navigation, logos, and headlines.
Use Cases:
- Website header with a logo and nav menu.
- Section headers in an article or content block.
Accessibility:
- Screen readers announce it as a landmark: “banner”.
- Allows keyboard and assistive tech users to quickly navigate to the header.
<header>
<h1>My Travel Blog</h1>
<nav>
<a href="/home">Home</a>
<a href="/about">About</a>
</nav>
</header>