HTML footer - how to use <footer> tag

The HTML <footer> tag is used to define the footer section of a document or an <article> tag. The document therefore have multiple footer tags.

The footer tag usually contain copyright information, contact information, etc.


The footer tag supports the global and event attributes.


<!--footer within the body--> <body> <footer> <p><a href="#">terms and conditions</a></p> <p>Copyright: XYZ</p> </footer> </body> <!--footer within an article tag--> <article> <p>Some data around the article</p> <footer> <p>Copyright: XYZ<p> </footer> </article>