header and footer elements
The HTML elements for introductory content such as a site title, and for closing content such as copyright and contact links.
In more detail
At the top level of a page they become the banner and contentinfo landmarks. Inside an article they simply mark that article's own header and footer.
Related terms
- landmark — A region of a page, such as navigation, main content or footer, that assistive technology users can jump between.
- semantic HTML — Using HTML elements for their meaning, such as <button> for actions and <nav> for navigation, rather than generic <div>s.
Taught in
- Semantic HTML Elements: Landmarks And Structure — Frontend Architecture & Web Platform
- CSS Subgrid: Inheriting Track Sizing Across Nested Layouts — Frontend Architecture & Web Platform