HTML <footer> Tag
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
header, article, aside, footer, main, nav {border:8px solid #F9EECF;padding:3px;margin:3px;width:50%;}
</style>
</head>
<body>
<header>Header...</header>
<main>
Main...
<article>Article...
<aside>Aside...</aside>
</article>
</main>
<footer>Footer...
<nav>Nav...</nav>
</footer>
</body>
</html>
The above example demonstrates usage of the <footer>
element.
The <footer>
element is used for providing information for its section such as the author, related links, copyright information, etc.
The above example shows the <footer>
element representing the footer of the whole document, however, it can also be used as the footer for any section within a document. For example, it could be used as the footer for the <article>
or the <aside>
elements.