HTML <footer> tag
The <footer> tag is used to define the footer of a page or document or article or section.
It must cover the information related with the page or section that it belongs.
Type: Block Element
Syntax of <footer> tag
<footer> Footer content </footer>
<footer> tag is introduced in HTML5.
Supported Browsers
| Tag | Chrome | Internet Explorer | Firefox | Safari | Opera Mini |
|---|---|---|---|---|---|
| <footer> | 6.0 or higher | 9.0 or higher | 4.0 or higher | 5.0 or higher | 11.1 or higher |
Full code example
<!DOCTYPE html> <html> <head> </head> <body> <header> </header> <main> </main> <footer> <p> Copyright © 2026 || All Rights Reserved <br> <a href="#">Privacy Policy</a> | <a href="#">Terms of Services</a> </p> </footer> </body> </html>
Output on the browser
Copyright © 2026 || All Rights Reserved
Privacy Policy
|
Terms of Services
<footer> tag is mainly used to define copyright notice, terms of use, host or admin-related link.
More reference
This element is located at the bottom of a section which may apply to the whole page or to the main content. For example, it is contained within an <article> element, it must define supplementary information, not the main content.
Default CSS property of <footer> tag
footer { display:block; }
