The <footer> element
As per the MDN definition:
The HTML Footer Element (
<footer>) represents a footer for its nearest sectioning content or sectioning root element. A footer typically contains information about the author of the section, copyright data or links to related documents.
Here are a few important points to remember about the <footer> element:
- It should always contain any information about its containing parent element.
- Although the term footer implies the bottom section of a page, article, or app, the
<footer>element doesn't necessarily have to be at the bottom. - There can be more than one
<footer>element in a single page.
Consider the following example:
<body>
<header class="masthead" role="banner">
<div class="logo">Mastering RWD with HTML5 & CSS3</div>
<div class="search" role="search">
<form>
<label>Search:...