• Post category:HTML

Which HTML tag is used to create a footer

Footer for a  section in HTML

If you don’t know which HTML element to use to specify a footer for a document or section, you’ve come to the right place to learn. In this article about, what a footer is in HTML and what it is used for?

What is a footer tag?

The <footer> tag is used to create the bottom section of a webpage. A webpage or website mainly needs a header, content, and footer. In that we need to create a header using <header> tag, content using <section> and <article> tag, and footer using footer tag.

The <footer> HTML element should be used to specify a footer for a document or section

How do you create a footer in HTML

<!DOCTYPE html>
<html>
<head>
   <title></title>
</head>
<body>
   <div>
      <article>Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua. </article><br><br>
<footer>Copyright 2022</footer>

</div>
</body>
</html>

Result:

which html element is used to specify a footer for a document or section

READ ALSO  Which Character is Used to Indicate an end tag in HTML?

Leave a Reply