Open In App
Related Articles

How to add footer for a document or section using HTML5 ?

Improve Article
Save Article
Like Article

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.


<footer> Contents... </footer>

A footer element typically contains authorship information, copyright information, contact information, sitemap, back to top links, related documents, etc.


<!DOCTYPE html>
        HTML footer Tag
        a {
            font-size: 25px;
            text-decoration: none;
        p {
            font-size: 25px;
        Define a footer for a 
        document or section
                <a href=
                    About Us
                <a href=
                    Privacy Policy
                <a href=
            @geeksforgeeks, Some 
            rights reserved


Supported Browsers:

  • Google Chrome
  • Internet Explorer
  • Firefox
  • Opera
  • Safari

Whether you're preparing for your first job interview or aiming to upskill in this ever-evolving tech landscape, GeeksforGeeks Courses are your key to success. We provide top-quality content at affordable prices, all geared towards accelerating your growth in a time-bound manner. Join the millions we've already empowered, and we're here to do the same for you. Don't miss out - check it out now!

Last Updated : 03 Jun, 2020
Like Article
Save Article
Similar Reads
Complete Tutorials