HTML footer tag

html footer element defines a footer at the end of each section or page. It is a block level element.

Example

<footer>
  <nav>
   <ul>
    <li> <a href="#"> About us </a> </li>
    <li> <a href="#"> Send feedback </a> </li>
    <li> <a href="#"> Forums </a> </li>
   </ul>
  </nav>  
 </footer>
Try </>

Specific uses

It contains the information like the author of a website, copyright information, contact information. It may also contain social media links or document related links.

Related tags

TagsDescription
<nav> nav element defines a navigation bar to access other pages.
<nav> Navigation bar </nav>
<ul> ul element defines an unordered list.
<nav> <ul> unordered list </ul> </nav>
<li> li element defines list items as child of the unordered list.
<nav> <ul><li> list item </li></ul> </nav>
<a> a element represents hyperlink to the other pages.
<a href="#"> Anchor text </a>

Tag omission

Bothe starting and ending tags are necessary for the footer element.

Global Attributes

All the global attributes are applicable on the footer element.



Was this article helpful?

 

Email:

Message:

Get the newsletter