HTML & Web Development 5. HTML Layout and Structure 11 mins read 14,705 views

HTML Footer Tag: Uses, Structure, and Code Examples

The HTML tag defines a footer for a webpage or section. It typically contains copyright information, authorship details, terms of service and privacy links, co...
Published: Nov 1, 2026Last Updated: Nov 21, 2026Curriculum: Class 12 / AP Physics / JEE-NEETReviewed by: OperateTools Editorial Board
Quick Summary & Direct Answer (AEO / GEO Extraction)

What is HTML Footer Tag: Uses, Structure, and Code Examples? The HTML tag defines a footer for a webpage or section. It typically contains copyright information, authorship details, terms of service and privacy links, co...

Audience & Scope: Students, educators, and candidates preparing for academic examinations and technical assessments in Html & Web Development.
How do you structure an accessible, informative website footer using the <footer> tag?
The HTML <footer> tag defines a footer for a webpage or section. It typically contains copyright information, authorship details, terms of service and privacy links, contact data, social media icons, and secondary sitemap navigation.

Explanation & In-Depth Details

1) Semantic Meaning of <footer>: The <footer> landmark indicates concluding content for its nearest sectioning ancestor (either the <body> or an <article>/<section>).

2) Document-Level vs Section-Level Footers:
- Document Footer: Located at the bottom of the page, holding company copyright, legal disclaimers, and site navigation.
- Article/Section Footer: Located inside an <article>, holding author information, publication date, tags, and category links.

3) Integrating Contact Information (<address>): The semantic <address> element should be placed inside the footer to enclose contact info (email, phone, postal address) of the document's author or company.

4) Screen Reader Accessibility: Assistive technology recognizes <footer> as the 'contentinfo' landmark, enabling users to jump straight to legal and contact information.

5) Styling Modern Multi-Column Footers: With CSS Flexbox or CSS Grid, footers are structured into responsive columns (Company, Product, Resources, Legal) that stack cleanly on mobile screens.

Code Example

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Semantic Footer Showcase</title>
    <style>
        .site-footer { background: #0f172a; color: #94a3b8; padding: 40px 20px 20px; font-family: system-ui, sans-serif; }
        .footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
        .site-footer h4 { color: #f8fafc; margin-top: 0; }
        .site-footer ul { list-style: none; padding: 0; margin: 0; }
        .site-footer a { color: #cbd5e1; text-decoration: none; }
        .site-footer a:hover { color: #38bdf8; }
        .footer-bottom { border-top: 1px solid #1e293b; text-align: center; margin-top: 30px; padding-top: 20px; font-size: 0.85rem; }
    </style>
</head>
<body>
    <main>
        <h1>Main Content Area</h1>
        <p>Scroll down to inspect the semantic footer architecture.</p>
    </main>

    <!-- Semantic Document Footer -->
    <footer class="site-footer">
        <div class="footer-grid">
            <div>
                <h4>OperateTools</h4>
                <p>Empowering developers with intuitive code editors, reverse image analysis, and web tools.</p>
            </div>
            <div>
                <h4>Quick Links</h4>
                <ul>
                    <li><a href="#tools">All Developer Tools</a></li>
                    <li><a href="#tutorials">HTML5 Tutorials</a></li>
                    <li><a href="#pricing">API Pricing</a></li>
                </ul>
            </div>
            <div>
                <h4>Contact Support</h4>
                <address>
                    Email: <a href="mailto:support@operatetools.com">support@operatetools.com</a><br>
                    San Francisco, California, USA
                </address>
            </div>
        </div>
        <div class="footer-bottom">
            <p>&copy; 2026 OperateTools Inc. All rights reserved. <a href="#privacy">Privacy Policy</a> | <a href="#terms">Terms</a></p>
        </div>
    </footer>
</body>
</html>

Interview Question & Tips

Q1: Can a webpage contain more than one <footer> tag?
A1: Yes! While there is typically only one page-level <footer> for the <body>, individual <article> and <section> elements can also have their own localized <footer> tags.

Q2: What is the proper HTML element for wrapping contact details inside a footer?
A2: The <address> element. It specifically marks up contact information for the nearest <article> or the root document.

Q3: Can a <footer> tag be placed inside a <header> or another <footer>?
A3: No. W3C specifications strictly forbid nesting <footer> tags inside a <header>, <address>, or another <footer> tag.

Best Practices

Place legal copyright, terms of service links, and contact information inside <footer>, and wrap contact info in an <address> tag.
Academic Standards & Verified Citations

This study reference for HTML Footer Tag: Uses, Structure, and Code Examples is curated and verified against recognized curriculum benchmarks, peer-reviewed textbooks, and official technical documentation:

HTML & Web Development