Header
Introductory or navigational content for page or nearest section.
header Native Section introduction
Review AI guidance1 of 92
- Use for a page or section introduction; let the nearest semantic owner determine landmark behavior.
AvoidTreat every header as the page banner, use it as a styling wrapper, or nest header/footer inside it.
- Keep header ownership clear from document structure.
- Do not add a redundant banner role or force global header layout.
- Preserve descriptive heading hierarchy and avoid duplicate unnamed banner landmarks.
## Header
Treatment version: 0.0.0
Reference state: Native
MDN Baseline: widely-available via mdn at https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/header (checked 2026-07-23)
Deprecated: no
Purpose: Introductory or navigational content for page or nearest section.
Native Fallback: Preserve browser presentation and behavior; no visual Framework treatment is exported.
Use: Use for a page or section introduction; let the nearest semantic owner determine landmark behavior.
Avoid: Treat every header as the page banner, use it as a styling wrapper, or nest header/footer inside it.
Constraints: Keep header ownership clear from document structure. Do not add a redundant banner role or force global header layout.
Accessibility: Preserve descriptive heading hierarchy and avoid duplicate unnamed banner landmarks.
Semantic HTML: <header><h2>Section introduction</h2></header> MDN reference 