Back to Concepts

<header>

Introductory content or navigation.

The `<header>` element represents a container for introductory content or a set of navigational links. It typically contains a logo, a search form, the author name, and other introductory elements. You can have multiple `<header>` elements in one document (e.g., one for the page, one for an article).

In The Wild

Seen in: YouTube

Top Bar

The bar at the top with the Search, Create, and Profile buttons is the <header> of the page.

📱

Live Example & Code

Preview Output
<header><h1>Page Title</h1></header>
HTMLViz
© 2026 HTMLViz. Open Source Learning.