Back to Concepts

<h1>

The most important heading.

The `<h1>` to `<h6>` tags are used to define HTML headings. `<h1>` defines the most important heading. `<h6>` defines the least important heading. Search engines use the headings to index the structure and content of your web pages. Users often skim a page by its headings. It is important to use headings to show the document structure.

Live Example & Code

Preview Output
<h1>Main Title</h1>
<h2>Subheading</h2>
<p>Some text content...</p>
HTMLViz
© 2026 HTMLViz. Open Source Learning.