Skip to main content
Albero Academy

Document Outline

How headings and sections create a page outline.

Semantic HTML7 min

A well-structured page has a clear outline — a hierarchy of headings and sections that both humans and machines can follow. It's like a table of contents built from your markup.

Headings define the outline

a logical heading hierarchy
<h1>Course: Web Development</h1>
<h2>Module 1: HTML</h2>
<h3>Elements</h3>
<h3>Forms</h3>
<h2>Module 2: CSS</h2>
<h3>Selectors</h3>

Key takeaways

  1. 01Headings create a document outline — a machine-readable table of contents.
  2. 02Use heading levels in order without skipping (h1 → h2 → h3).
  3. 03Screen-reader users navigate by jumping between headings.
  4. 04Each section/article should begin with a heading that titles it.

Finished this chapter?

Mark it complete to track your progress through HTML.