HTML <footer> Tag

Description

The <footer> HTML element defines the 'footer" of the site or section of the web page, it can contain the author's name, document date, contact and legal information.
The <footer> cannot be embedded inside another <footer>, or inside the <address> and <header> elements.
There should be no <main> element inside the <footer>.

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

Desktop
Explorer Edge Chrome Firefox Opera Safari
9Yes5411.14.1
Tablets / Mobile
Android Chrome Firefox Opera Safari Samsung
YesYes411.14.2Yes

Last updated by CSSPortal on: 6th December 2019