A footer is the bottom section of a document. It typically contains information such as the author’s name, the page number, or the date.

You can create a footer in HTML by using the <footer> element. This element should contain all of the content that you want to include in your footer. For example:

<footer>
  <p>This is the footer.</p>
  <p>It contains information such as the author's name, the page number, or the date.</p>
</footer>

You can also use the <footer> element to create a sticky footer. A sticky footer is a footer that sticks to the bottom of the page, even if the content is shorter than the page. To create a sticky footer, you need to use CSS. For example:

<style>
  body {
    position: relative;
  }
  footer {
    position: absolute;
    bottom: 0;
    width: 100%;
  }
</style>

<body>
  <p>This is some paragraph.</p>

  <footer>
    <p>This is the footer.</p>
  </footer>
</body>