Semantic structure: Page footer
A footer contains information about its nearest section or the page, such as related links or authorship.
Current edit
Understand the pattern
A footer contains information about its nearest section or the page, such as related links or authorship.
A footer contains information about its nearest section or the page, such as related links or authorship.
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
<main><h1>Field notes</h1></main>
<footer><p>Community workshop</p><a href="/privacy/">Privacy</a></footer>A footer contains information about its nearest section or the page, such as related links or authorship.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Semantic structure: Contact informationTry an incident drillAnonymous 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
- 01Semantic structure: Supporting asidesAn aside contains related but secondary material. Essential task instructions belong in the main flow.Practice
- 02Semantic structure: Contact informationaddress marks contact information for its nearest article or body, not every postal address mentioned in text.Practice
- 03Semantic structure: Nested heading orderHeading order follows the relationship between topics. A subsection of h2 normally starts at h3.Practice