Publish in HTML Tutorial el 24/05/2025 14:34
The <footer> element represents a footer for its nearest sectioning content or root element. Typically containing metadata, copyright information, author details, related documents, or navigation links. Unlike traditional footers in documents, HTML footers can appear multiple times on a page - at the bottom of the entire page or at the end of individual sections/articles.
Here's the basic structure of a footer element:
A simple footer with copyright information and authorship:
A footer containing navigation links and social media icons:
A footer used within an article element:
A footer that automatically updates the copyright year using JavaScript:
A footer with a functional back-to-top button using JavaScript:
Always use the <footer> element semantically - for footer content, not just as a styling container.
The <style> HTML element contains style information for a document, or part of a document. ...
The <strong> element is used to indicate that its content has strong importance, seriousnes...
The <span> element is an inline container used to mark up a part of a text or document. Unl...
The <source> element is used to specify multiple media resources for media elements like &l...
The <small> element is used to represent side-comments and small print, typically for discl...
HTML <section> Element: The Complete Guide The <section> element is a semantic HTML ...