Heading hierarchy

Heading hierarchy organizes content with h1 to h6: an h1 describes the page, levels follow one another without skipping, and each heading reflects the logical structure, never the appearance. Screen readers use them to navigate; styling is handled in CSS.

Example

<h1>Guide</h1>
<h2>Installation</h2>
<h3>Prerequisites</h3>

Related concepts

The whole glossary