View video tutorial

HTML <footer> Tag

HTML

The <footer> tag provides a footer section in a document.

HTML <footer> Tag


The <footer> element represents a footer division for its closest ancestor element.

A <footer> usually contains information about the author, copyright data or important links in the document.

Global attributes

Global attributes may be applied on all elements, although some elements may have no effect on them.

<accesskey>, <class>, <contenteditable>, <contextmenu>, <data-*>, <dir>, <draggable>, <dropzone>, <hidden>, <id>, <lang>, <spellcheck>, <style>, <tabindex>, <title>, <translate>.

Learning with HTML Editor "Try it Now"

You can edit the HTML code and view the result using online editor.

Example

<footer>
    <p>Author: Hanna Moos<br>
        <a href="mailto:author@example.com">author@example.com</a>
    </p>
</footer>
Try it Now »

Click on the "Try it Now" button to see how it works.


Sample Code

Copy each file contents and paste it to your own project and run to see the final output

Example

<footer class="footerp">
    <div class="footerc">
        <h4>About US</h4>
        <ul>
            <li> <a href="#"> Home </a> </li>
            <li> <a href="#"> About </a> </li>
            <li> <a href="#"> Services </a> </li>
            <li> <a href="#"> Career </a> </li>
            <li> <a href="#"> Contact US </a> </li>
        </ul>
    </div>
</footer>
Try it Now »

Click on the "Try it Now" button to see how it works.


Example

<footer class="footer2">
    <h4>All rights reserved @ 2022</h4>
</footer>
Try it Now »

Click on the "Try it Now" button to see how it works.