HTML Footer Tag for Document Footers

html footer tag

The <footer> tag defines a footer section in HTML. It creates a clear endpoint for a page or section. Browsers and tools recognize it to help parse the document.

It groups details such as copyright or legal information. Authors use it to show site ownership or contact details.

You usually place it at the bottom of a page or article. It adds structure and improves accessibility for users and screen readers.

The syntax looks like this.

<footer>
  <p>© 2025 MySite</p>
</footer>

You write it like this to mark footer content. You can place paragraphs, navigation links, or addresses inside. It acts as a block-level element and accepts flow content.

Place <footer> inside <body>, <article>, or <section>. Inline elements cannot contain it. It’s place at the end of the <body> for a site-wide footer.

Also, don’t nest one <footer> inside another or inside a <header>. Place it to match the semantic structure of your content.

So, why does the HTML footer tag matter for SEO?

Screen readers identify it as the end of a page or section. Search engines treat it as a signal for key details such as contact or copyright info.

It adds clear structure and semantics to your content. The HTML Footer tag allows keyboard users to navigate sections with ease.

Footer with Navigation Links:

<footer>
  <nav>
    <a href="#">Home</a> |
    <a href="#">About</a>
  </nav>
</footer>

Contains quick navigation links for better user access.

Footer with Contact Info:

<footer>
  <address>
    Email: info@example.com
  </address>
</footer>

Shows contact details to help users reach you easily.

Styled Footer with CSS:

<footer style="background:#333;color:#fff;padding:1em;">
  <p>Footer Content Here</p>
</footer>

Adds styling directly to make the footer stand out.

Semantic Footer with Multiple Sections:

<footer>
  <section>
    <h4>About</h4>
    <p>Info here.</p>
  </section>
  <section>
    <h4>Links</h4>
    <a href="#">Contact</a>
  </section>
</footer>

Group content in sections for a clear structure and SEO.

Wrapping Up

In this tutorial, you learned what the HTML <footer> tag does and how to use it. You saw where to place it, how it works with SEO and accessibility, and what content it usually holds.

Here is a quick recap:

  • The <footer> tag defines the end of a section or page.
  • You can use it to hold copyright, links, or contact details.
  • You place it at the end of <body>, <article>, or <section>.
  • It improves structure, screen reader access, and search indexing.
  • CSS lets you style it clearly and responsively.
  • Modern browsers support it fully without extra setup.

What is the purpose of the
tag in HTML?

The <header> tag defines the top section of a webpage or a section. It usually contains introductory content like the logo, main heading, or navigation links.

How is the

The <nav> tag is specifically used to hold navigation links, such as menus or internal page links. It is often placed inside the <header> but can also appear elsewhere on the page.

Can

Yes, <nav> can be used anywhere on the page where navigation links are needed, not just inside <header>.

What does the
tag represent?

The <footer> tag defines the bottom section of a webpage or a section. It commonly includes copyright info, contact details, or secondary navigation links.

Can the
contain a

Yes, the <footer> can contain a <nav> element if there are navigation links related to the footer, like site map or social media links.

Should

No, <nav> is meant to be used within or alongside <header> and <footer> to organize navigation links. It does not replace these sections.

Similar Reads

HTML br Tag: Line Breaks

The br tag adds a single line break in HTML. It is an empty tag that does not need a…

HTML abbr Tag: How Abbreviations Work with Examples

The abbr tag refers to an abbreviation in HTML. It helps you save space and improve accessibility. The screen readers…

HTML dialog Tag: How to Create Dialog Boxes

The <dialog> tag is used to build modal popups in HTML. It shows alerts and messages without third-party scripts. Understand…

The em Tag in HTML: How to Emphasize Text in HTML

The HTML em tag shows stress or emphasis in text. It changes meaning for readers and screen readers. What is…

HTML sup Tag: How to Add Superscript in Web Pages

The HTML sup tag puts text above the normal line. Writers use it for math power and marks. So, readers…

The Button Tag in HTML: How it Works with Examples

The HTML button tag creates interactive controls on a web page. You can use this element to trigger actions or…

HTML Select Tag: How Combo Box & Option Work with Examples

HTML select tag and option tags let users pick values in a form. You use them to create dropdowns. The…

HTML del Tag: How to Mark Deleted Text in Pages

The HTML del tag shows text that a user or author removed from a page. A browser shows this text…

How to Use sub Tag for Subscript Text in HTML

The sub tag in HTML shows text in subscript form. It places the text slightly below the normal baseline of…

HTML Form Tag: How Create User Input Forms

The HTML form tag helps you collect user input on a website. You use the HTML form tag to create…

Previous Article

HTML Header Tag: The Complete Guide with Examples

Next Article

HTML Article Tag: How to Create Semantic Content

Write a Comment

Leave a Comment

Your email address will not be published. Required fields are marked *


Subscribe to Get Updates

Get the latest updates on Coding, Database, and Algorithms straight to your inbox.
No spam. Unsubscribe anytime.