A website footer is the section that closes every page of a site, below the main content. It holds what visitors look for once they've reached the end or can't find something elsewhere: contact details, links to important pages, legal pages and the copyright line.
Because it repeats on every page, the footer works as a safety net. Someone who scrolls past the content looking for your address, your returns policy or a job page expects to find it there.
What to put in a footer
Start with what your visitors look for at the bottom of a page. For most sites that's:
- Contact details: email, phone, and for a business with premises, the address and opening hours.
- Legal links: privacy policy, terms, cookie settings, and any legal notice your country requires.
- Key pages: about, help or support, careers, and the main sections a visitor might want from anywhere.
- Brand basics: the logo or company name, the copyright line, links to your social profiles.
Many sites add a newsletter sign-up or a short call to action. Leave out what nobody uses: a footer with 80 links is as hard to scan as no footer.
Group the links under short headings such as "Company", "Help" and "Legal", so people can scan them in seconds.
How to build a footer in HTML
Use the <footer> element. When it sits directly in <body>, it's the footer for the whole page. Inside an <article> or <section>, it's the footer for that part only, such as an article's author line. MDN
<footer>
<nav aria-label="Footer">
<ul>
<li><a href="/about">About us</a></li>
<li><a href="/help">Help</a></li>
<li><a href="/privacy">Privacy policy</a></li>
</ul>
</nav>
<address>
Example Bakery, 12 Market Street, Springfield<br>
<a href="mailto:[email protected]">[email protected]</a>
</address>
<p><small>© 2026 Example Bakery</small></p>
</footer>
Two rules for the element: a <footer> can't contain another <footer> or a <header>, and contact details go in an <address> element, as above.
See semantic HTML and HTML5 sectioning elements for how these elements fit together.
Footers and accessibility
A page-level <footer> is a landmark (its role is contentinfo), so screen reader users can jump to it directly. That only happens when the footer belongs to the whole page. A <footer> inside an <article>, <section>, <aside>, <main> or <nav> is treated as a plain container.
Beyond that, the usual rules apply. Give a link group its own <nav> with a label, keep enough contrast for small footer text, and make links big enough to tap on a phone. See accessibility for more.
Footers and SEO
Footer links are ordinary links. Search engines crawl them like any other, so the footer is a reasonable place to link the pages you want found from everywhere, such as your main categories. It doesn't replace a clear menu or internal links in your content.
Two things to avoid:
- Keyword lists. A block of links like "cheap shoes Berlin, cheap shoes Munich..." helps nobody and reads as keyword stuffing.
- Links placed in other sites' footers. Google's spam policies name widely distributed links in the footers or templates of various sites as link spam (see link schemes). Google spam policies If you build themes or client sites, a credit link in their footer is there for visitors; don't use it to collect rankings.
For a local business, the footer is a good home for your name, address and phone number, written the same way as on your Google Business Profile and directory listings. See NAP consistency.
Footer or header?
The header carries what people need first: your logo, the main menu, search and the main action, such as "Sign in" or "Book now". The footer carries what people need occasionally or at the end: contact, legal, and the wider set of links. If a link is important enough that most visitors need it, it belongs in the header.