The <footer> Tag in HTML 5
The <footer> tag is one of the HTML tags for headings and footers in HTML and contains the footer of a section. The section can be created with any of the HTML sectioning tags:
- <article> sectioning tag for articles
- <aside> sectioning tag for sidebars
- <nav> sectioning tag for navigation sections
- <section> sectioning tag
A footer for a section is usually included at the end of the section:
<section>
...
<footer>
<p>... copyright statement or disclaimer ...</p>
</footer>
</section>
A footer can also be used to enclose the HTML 5 section tags for a document index or appendix.
<footer>
<section>
<header>
<h2>Index</h2>
</header>
...
</section>
</footer>