footer element | footer object
[This documentation is preliminary and is subject to change.]
Represents a section that describes the nearest ancestor section, such as who wrote it, links to related documents, copyright data, and so on.
![]() |
Standards information
There are no standards that apply here.
HTML information
| Closing Tag | required |
|---|---|
| CSS Display | block |
DOM Information
Inheritance Hierarchy
Remarks
Footers don't necessarily have to appear at the end of a section, though they usually do. The footer element can contain entire sections to represent appendices, indexes, license agreements, and similar content. Footers might also contain nav elements or contact information for the author or editor inside an address element. When the nearest ancestor element is the body element, then the footer applies to the whole document.
The footer element is not sectioning content; it does not introduce a new section.
Windows Internet Explorer 9. The footer element is only supported for webpages displayed in IE9 Standards mode. For more information, see Defining Document Compatibility.
Examples
The following example defines two footers, one at the top and one at the bottom, with the same content.
<body> <!-- First footer --> <footer><a href="../">Back to index...</a></footer> <h1>Lorem ipsum</h1> <p>Insert long article here.</p> <!-- Second footer --> <footer><a href="../">Back to index...</a></footer> </body>
See also
Build date: 3/8/2012
