LESSON 47 OF 120

Build: a titled section

Give each thematic section a heading that explains its subject.

Official sourceWHATWG HTML — sectionReviewed: 2026-08-26
STEP 1 · LEARN

How it works

Give each thematic section a heading that explains its subject. Semantic structure should describe meaning, not visual appearance.

Correct example
<section><h2>Process</h2><p>The project moves through analysis, structure and testing.</p></section>

section groups content around a shared theme. A visible heading explains the subject and helps readers understand the page structure.

Common mistake
<section><p>The project moves through three steps.</p></section>

The content is grouped, but the section has no heading that names its theme.

STEP 2 · APPLY

Your exercise

Complete the example. Give each thematic section a heading that explains its subject.

STEP 3 · BUILD

Write and see the result

index.htmlHTML
Safe resultisolated
The draft stays only in this browser.HTML and CSS allowed · scripts and network blocked
STEP 4 · CHECK

What needs to pass

0%not checked
  • The section starts with an h2.
  • The section contains explanatory text.
Explain the solution logic

Keep the content in section and add an h2 describing the theme before the paragraph.