Anonymous contributor's avatar
Anonymous contributor
Anonymous contributor's avatar
Anonymous contributor
Published Jun 3, 2021Updated Sep 3, 2021
Contribute to Docs

The <footer> semantic tag represents a part of a page which is meant to be at the end of a completed block of content. If it is at the end of an entire page it might include copyright information for the page or additional links to relevant pages, and if it is at the end of an article it might include information about the author.


<!-- Footer content goes inside the tag -->

<footer> is a tag that wraps around a block of HTML giving it semantic meaning. It has no special attributes, and by default will act similarly to a <div>.


After the main content is shown to the users of Bongo Ltd., they should see navigation links to the pages that are not featured in the header as well as copyright information for the current page.

<!-- Site content goes here -->
<a href="/partners">Bongo Ltd. Partner Companies</a>
<a href="/careers">Careers @ Bongo Ltd.</a>
<!-- More links go here-->
<h3>Copyright 2021, Bongo Ltd.</h3>

A footer like this might be present across multiple pages on the site, even though related navigation links may be different depending on the main content from that page.

Article Footer

At the end of the article we wish to show author information, as well as social media links for sharing of the article.

<head> </head>
<!-- Article header and other sections go here -->
<!-- Final section content goes here -->
<p>Article written by Josie Sweets for Skim Milk Magazine, June 2019</p>
<a>Share on Instagram</a>
<a>Share on Tumblr</a>
<a>Share on Twitter</a>

This is a great use of a semantic element, and also will help the designer when it comes to styling the articles.

All contributors

Looking to contribute?

Learn HTML on Codecademy