HTML <footer> Tag
Description
The HTML <footer>
tag is a structural element used to define the footer section of a web page or a specific section within a webpage. Typically placed at the bottom of a page or within a specific content area, it contains information such as copyright notices, contact information, links to important pages, and other supplementary content that provides context or additional details about the webpage. The <footer>
tag helps in organizing and structuring the content of a webpage, making it more accessible and user-friendly, and it is an essential component for maintaining proper HTML semantics.
Properties
- Permitted Parents
- Any element that accepts flow content. Note that a <footer> element must not be a descendant of an <address>, <header> or another <footer> element
- Content
- Block, Inline and text, but no <footer> or <header>
- Start/End Tags
- Start tag: required, End tag: required
Example
<!DOCTYPE html>
<html>
<head>
<title>Untitled 1</title>
</head>
<body>
<header>
<h1>Header of Page</h1>
</header>
<article>
<p>Description and information of page goes here.</p>
</article>
<footer>
Footer of Page - Copyright
</footer>
</body>
</html>
Attributes
None
Global Attributes
The <footer>
tag also supports the Global Attributes in HTML5
Event Attributes
The <footer>
tag also supports the Event Attributes in HTML5
Browser Support
The following table will show you the current browser support for the HTML <footer>
tag.
Desktop | |||||
12 | 5 | 4 | 11.1 | 5 |
Tablets / Mobile | |||||
18 | 4 | 11.1 | 4.2 | 1 | 4.4 |
Last updated by CSSPortal on: 30th September 2023