Skip to content
BENIBIX Learn

Heading Structure

Design♿ AccessibilitySemantic Structure

Also known as Heading Hierarchy, Heading Levels, Document Outline

The outline a page makes with its headings, from h1 down to h6.

Think of it like

It is like the chapters and parts in a book's contents page. You can see the shape at once.

Example

A recipe page has one h1, then h2s for Ingredients and Method. Jack's screen reader jumps straight to Method.

Why it matters

It is how many screen reader users find their way around a page.

Definition

Heading structure is the outline a page makes with its headings, from h1 down to h6. A page usually has one h1 for its main title, h2s for its main parts, and h3s inside those. Levels should not be skipped just to get a smaller font. Screen reader users often list the headings first and jump to the part they want.

Example code

html
<h1>Banana bread</h1>
<h2>Ingredients</h2>
<h2>Method</h2>
<h3>Step 1</h3>
Each level sits inside the one above, like a contents page.

Common mistake

Picking a heading level for its size. Choose the level for its place; set the size in CSS.

Key takeaways

  1. 1
    One h1. The page title.
  2. 2
    No skipped levels. h2 then h3.
  3. 3
    Level for place, not size. Size comes from CSS.