Header and Footer
header holds introductory content such as a logo and navigation. footer holds closing content such as copyright and links. A page and each section can have its own.
Example
<header style="background:#134e4a;padding:8px"><h2>Site name</h2></header>
<p>Page content</p>
<footer style="background:#1e293b;padding:8px">© 2026</footer>Exercise
Closing content element.
<>© 2026</footer>
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.