Skip to content
Tutorials Center
My learning

Topics

HTML Reference ยท Sections

The <footer> element

Reference for the HTML <footer> element: page footers vs article footers, the contentinfo landmark, what to put inside, examples and technical details.

The <footer> element holds closing information about its nearest sectioning ancestor: who wrote it, copyright, related links, contact details, tags or a publication date. A footer directly in the page body describes the whole site; a footer inside an <article> describes just that article.

HTML
<footer>
  <p>ยฉ 2026 Riverside Climbing Gym</p>
</footer>

Despite the name, a footer doesn't have to be at the bottom. Its meaning comes from its content, not its position.

Try it

An article footer and a site footer

Attributes

This element has no attributes of its own. It accepts the global attributes.

Usage notes

  • Page footer = landmark. A footer that is not inside an <article>, <aside>, <main>, <nav> or <section> is exposed as the contentinfo landmark, so screen reader users can jump to it. A footer inside those elements is a plain generic element.
  • One site footer. Have only one page-level footer; article and section footers can appear as often as needed.
  • What fits. Copyright lines, secondary navigation, social links, contact details in an <address>, author info and dates (in <time>).
  • No nesting. A footer may not contain a <header> or another <footer>.
  • Not a style hook. If you only want a gray strip at the bottom of a card, a <div> with a class may be the honest choice.

Technical summary

Content categories Flow content, palpable content
Permitted content Flow content, but no <header> or <footer> descendants
Tag omission None; both the start and end tags are required
Permitted parents Any element that accepts flow content
Implicit ARIA role contentinfo when scoped to the body; otherwise generic
DOM interface HTMLElement
Default display block

Browser support

Supported in every browser.