{{HTMLRef}}
The HTML <footer>
element represents a footer for its nearest sectioning content or sectioning root element. A footer typically contains information about the author of the section, copyright data or links to related documents.
Usage notes:
- Enclose information about the author in an {{HTMLElement("address")}} element that can be included into the
<footer>
element. - The
<footer>
element is not sectioning content and therefore doesn't introduce a new section in the outline.
Content categories | Flow content, palpable content. |
---|---|
Permitted content | Flow content, but with no <footer> or {{HTMLElement("header")}} descendants. |
Tag omission | {{no_tag_omission}} |
Permitted parent elements | Any element that accepts flow content. Note that a <footer> element must not be a descendant of an {{HTMLElement("address")}}, {{HTMLElement("header")}} or another <footer> element. |
DOM interface | {{domxref("HTMLElement")}} |
Attributes
This element only includes the global attributes.
Examples
<footer> Some copyright info or perhaps some author info for an <article>? </footer>
Specifications
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG', 'sections.html#the-footer-element', '<footer>')}} | {{Spec2('HTML WHATWG')}} | |
{{SpecName('HTML5 W3C', 'sections.html#the-footer-element', '<footer>')}} | {{Spec2('HTML5 W3C')}} |
Browser compatibility
{{CompatibilityTable}}
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|
Basic support | 5 | {{CompatGeckoDesktop("2.0")}} | 9.0 | 11.10 | 4.1 |
Feature | Android | Firefox Mobile (Gecko) | IE Mobile | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | 2.2 | {{CompatGeckoMobile("2.0")}} | 9.0 | 11.0 | 5.0 (iOS 4.2) |
See also
- Other section-related elements: {{HTMLElement("body")}}, {{HTMLElement("nav")}}, {{HTMLElement("article")}}, {{HTMLElement("aside")}}, {{HTMLElement("h1")}}, {{HTMLElement("h2")}}, {{HTMLElement("h3")}}, {{HTMLElement("h4")}}, {{HTMLElement("h5")}}, {{HTMLElement("h6")}}, {{HTMLElement("hgroup")}}, {{HTMLElement("header")}}, {{HTMLElement("section")}}, {{HTMLElement("address")}};
- Sections and outlines of an HTML5 document.