Skip to content
Clairos Learn

Semantic structure · Lesson 9 of 10 · 7 minutes

Semantic structure: Nested heading order

Heading order follows the relationship between topics. A subsection of h2 normally starts at h3.

Mastery 0/3Run itExplain itApply it
Web workshopInert preview · code inspection

Current edit

PreviewNo external resources

Understand the pattern

Heading order follows the relationship between topics. A subsection of h2 normally starts at h3.

Heading order follows the relationship between topics. A subsection of h2 normally starts at h3.

Misconceptions to reject

  • A visual appearance alone guarantees the intended HTML meaning.
  • Replacing semantic elements with generic divs automatically improves accessibility.

The preview is a sanitized subset, not a full browser compatibility test.

Worked example and expected result
<h1>Server handbook</h1>
<section><h2>Logging</h2><section><h3>Retention</h3><p>Keep the required evidence window.</p></section></section>

Heading order follows the relationship between topics. A subsection of h2 normally starts at h3.

Try a variation

Adapt the final example to a different project name while retaining its structure and relationships. A different context still needs a real browser and accessibility check.

Explain it

Which statement correctly explains nested heading order?

Apply it elsewhere

You reuse nested heading order in a different project. What must still be verified?

Keep the momentum.

Complete the lab, then explain and apply the pattern.

Next: Semantic structure: Complete page outlineTry an incident drill

Anonymous lesson and mastery progress lasts for this session. Sign in to keep synced lesson XP between sessions; mastery stays device-local. No speed bonus, lost lives, or hint penalties.

Keep learning

  1. 01Semantic structure: Contact informationaddress marks contact information for its nearest article or body, not every postal address mentioned in text.Practice
  2. 02Semantic structure: Complete page outlineA clear page outline separates site navigation, the primary task, and supporting information.Practice