Skip to main content

HTML <footer> Tag

The HTML <footer> tag defines the footer for a document or section—in other words, it creates a space on each page designated for copyright information, links to other pages, and contact information. It also provides an easy way to group relevant content together in one place on each page.

For example, if you have multiple pages with contact information in different places or copyright notices listed across multiple pages, you can use the <footer> tag on each page to create one unified space where all of these elements appear together on every page. This makes it easier for visitors to find this information quickly and easily without having to search through each page separately.

The following code snippet shows how to create a footer that contains copyright information as well as links to social media accounts:

  <p><a href="">Facebook</a></p>
  <p><a href="">Twitter</a></p>
  <p><a href="">Instagram</a></p>
  <p>© 2022 Modern HTML</p>
    <h1>footer of an article</h1>
        <p>Category | Author | Comment</p>

<footer class="subscribe">
  <div class="container">
    <h2 class="subscribe__title">Sign Up For Our Newsletter!</h2>
    <form action="" class="subscribe__form">
      <div class="subscribe__input-wrapper">
        <input type="text" placeholder="Your Email Address" />
      <button type="submit" class="subscribe__button btn btn--blue">Subscribe Now!</button>