Semantic structure: Contact information
address marks contact information for its nearest article or body, not every postal address mentioned in text.
Current edit
Understand the pattern
address marks contact information for its nearest article or body, not every postal address mentioned in text.
address marks contact information for its nearest article or body, not every postal address mentioned in text.
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><h1>Workshop notes</h1><address>Prepared by the library team. Contact the front desk.</address><p>The event takes place in Room 2.</p></article>address marks contact information for its nearest article or body, not every postal address mentioned in text.
Explain it
Apply it elsewhere
Keep the momentum.
Complete the lab, then explain and apply the pattern.
Next: Semantic structure: Nested heading orderTry 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: Page footerA footer contains information about its nearest section or the page, such as related links or authorship.Practice
- 02Semantic structure: Nested heading orderHeading order follows the relationship between topics. A subsection of h2 normally starts at h3.Practice
- 03Semantic structure: Complete page outlineA clear page outline separates site navigation, the primary task, and supporting information.Practice