DEV Community

Cover image for HTML tags | footer
Carlos Espada
Carlos Espada

Posted on • Updated on

HTML tags | footer

It is used to define a footer for a document or section. Usually includes information about the author, copyright, contact, sitemap, links to related documents...

Can be repeated within the same document but cannot be used within <header>, <address> or another <footer>.

If it contains contact information or the author, it should be done by encompassing it within <address>.

It does not contribute to the outline of the document.

It has an implicit ARIA role contentinfo, or none if it is a descendant of an <article>, <aside>, <main>, <nav> or <section> or of an element with role article, complementary, main, navigation or region.

To maintain compatibility with older browsers you can use the redundant formula of <footer role="contentinfo">.

  • Type: block
  • Self-closing: No
  • Semantic value: Yes

Definition | Example | Support

Discussion (0)