Semantic structure: Independent articles
An article is a self-contained composition that could make sense when distributed independently.
Current edit
Understand the pattern
An article is a self-contained composition that could make sense when distributed independently.
An article is a self-contained composition that could make sense when distributed independently.
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
<article><h2>September workshop</h2><p>We explored file permissions.</p><footer><p>Filed by the study group.</p></footer></article>An article is a self-contained composition that could make sense when distributed independently.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Semantic structure: Supporting asidesTry 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: Named sectionsA section groups a distinct topic. aria-labelledby can give the region its name from a visible heading.Practice
- 02Semantic structure: Supporting asidesAn aside contains related but secondary material. Essential task instructions belong in the main flow.Practice
- 03Semantic structure: Page footerA footer contains information about its nearest section or the page, such as related links or authorship.Practice