HTML <footer>
query_builder | Christopher PisaniThe HTML element <footer> closes a section of information with credits, generally for an author or copyright data.
<style>
article {
min-height: 100%;
display: grid;
grid-template-rows: auto 1fr auto;
}
footer {
display: flex;
justify-content: center;
padding: 5px;
background-color: #45a1ff;
color: #fff;
}
</style>
<article>
<h1>How to be a wizard</h1>
<ol>
<li>Grow a long, majestic beard.</li>
<li>Wear a tall, pointed hat.</li>
<li>Have I mentioned the beard?</li>
</ol>
<footer>
<p>© 2018 Gandalf</p>
</footer>
</article>
Available Attributes
No specific attributes are assigned for this element, other than the standard global attributes.