HTML <footer> Tag
A footer section in a document:
<footer>
<p>Posted by: Hege Refsnes</p>
<p>Contact information: <a href="mailto:[email protected]">[email protected]</a>.</p>
</footer>
Definition and Usage
The <footer>
tag defines a footer for a document or section.
A <footer>
element should contain information about its containing element.
<footer>
element typically contains:</p>
- authorship information
- copyright information
- contact information
- sitemap
- back to top links
- related documents
You can have several <footer>
elements in one document.
Tips and Notes
Tip: Contact information inside a <footer>
element should go inside an <address>
tag.
Default CSS Settings
Most browsers will display the <footer>
element with the following default values:
footer {
display: block;
}