In this article, we define a footer for a document or section by using the <footer> tag. This tag in HTML is used to define a footer of HTML document. This section contains the footer information (author information, copyright information, carriers, etc). The <footer> tag is used within the body tag. The footer tag is new in the HTML5. The footer elements require a start tag as well as end tag.
Syntax:
<footer> Contents... </footer>
A footer element typically contains authorship information, copyright information, contact information, sitemap, back to top links, related documents, etc.
Example:
<!DOCTYPE html> <html> <head> <title> HTML footer Tag </title> <style> a { font-size: 25px; text-decoration: none; } p { font-size: 25px; } </style> </head> <body> <h2> GeeksForGeeks </h2> <h2> Define a footer for a document or section </h2> <footer> <nav> <p> <a href= About Us </a>| <a href= Privacy Policy </a>| <a href= Careers </a> </p> </nav> <p> @geeksforgeeks, Some rights reserved </p> </footer> </body> </html> |
Output:

Supported Browsers:
- Google Chrome
- Internet Explorer
- Firefox
- Opera
- Safari
Recommended Posts:
- HTML5 | <footer> Tag
- How to emphasize text in a document using HTML5 ?
- How to define a title for a document using HTML5 ?
- How to define style information of a document using HTML5 ?
- How to specify the main content of a document in HTML5 ?
- How to group footer content in form of table using HTML ?
- How to add content in <head> section using jQuery/JavaScript?
- How to add section that is quoted from another source using HTML ?
- HTML | DOM Footer Object
- HTML Course | Building Footer
- How to create footer to stay at the bottom of a Web page?
- How to align buttons in Card footer in Bootstrap ?
- How to append Angular styles in footer ?
- Materialize CSS | Footer
- How to Add a Short Quotation using HTML5 ?
- How to add video in HTML5 ?
- Display the number of links present in a document using JavaScript
- How to get position of an element relative to the document or parent using jQuery ?
- How to delete text from document using HTML ?
- How to get the number of pages in a PDF document using PHP ?
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


