Menu
Text & Formatting

<h1>–<h6> Headings

Six levels of section headings — the page outline.

1Heading Hierarchy

Use exactly one <h1> per page (the main title), then <h2> for sections, <h3> for sub-sections, and so on. Never skip levels for styling — that is what CSS is for.

Example Code
<h1>Page Title</h1>
<h2>Section</h2>
<h3>Sub-section</h3>
<h4>Smaller heading</h4>
<h5>Even smaller</h5>
<h6>Smallest</h6>

Finished reading?

Mark this topic as complete to track progress.