Note/Info The <footer> tag is a new tag in HTML5.
HTML5 <footer> tag
The <footer> tag in HTML5 defines footer for page or section. Footer is present at the bottom of the page.
You can show information like copyright, privacy policy, author information, credit, contact details, back to top links, sitemap etc.
Syntax:
<footer>copyright content/author/credit/privacy etc.</footer>
Example
<footer> <p> <address> ABC Solutions, 9th Main, 2nd Cross, XYZ street, Bangalore, India </address> </p> <p> Contact information: <a href="mailto:[email protected]">support@tutorialbrain.com</a> </p> </footer>
Default CSS Value
display: block;
How Browser will display
BLOCK Level.
Difference between HTML4.01, XHTML and HTML5
HTML4 | XHTML | HTML5 |
---|---|---|
NA | NA | New tag in HTML5 |
Attributes used with <footer> tag
NONE
Global Attributes
The <footer> tag supports Global attributes.
Event Attributes
The <footer> tag supports Event attributes.
Supporting Browsers
Related Tags
<header>, <div>, <nav> & <section> tags.