HTML <footer> tag
- closing tag
- required
- void element
- no
- lives inside
- <body>
- typically holds
- credits, copyright, secondary links
Where it goes
Right before </body>, next to <header> and <main>. Not inside <main>.
Example
<footer>
<p>© 2025 My Site</p>
</footer>Open this example in the editor →
Common mistakes
- Putting it inside <main>. The footer is not main content, so it sits outside.
- Thinking it is only for the bottom of the whole page. A <footer> inside an <article> can hold that article's author and date.
- Burying important content in it because it is "at the bottom." If visitors need it to use the page, it belongs in <main>.