• Skip to main content
  • Skip to search
  • Skip to select language
MDN Web Docs
  • References
    • Overview / Web Technology

      Web technology reference for developers

    • HTML

      Structure of content on the web

    • CSS

      Code used to describe document style

    • JavaScript

      General-purpose scripting language

    • HTTP

      Protocol for transmitting web resources

    • Web APIs

      Interfaces for building web applications

    • Web Extensions

      Developing extensions for web browsers

    • Accessibility

      Build web projects usable for all

    • Web Technology

      Web technology reference for developers

  • Learn
    • Overview / MDN Learning Area

      Learn web development

    • MDN Learning Area

      Learn web development

    • HTML

      Learn to structure web content with HTML

    • CSS

      Learn to style content using CSS

    • JavaScript

      Learn to run scripts in the browser

    • Accessibility

      Learn to make the web accessible to all

  • Plus
    • Overview

      A customized MDN experience

    • AI Help

      Get real-time assistance and support

    • Updates

      All browser compatibility updates at a glance

    • Documentation

      Learn how to use MDN Plus

    • FAQ

      Frequently asked questions about MDN Plus

  • Curriculum New
  • Blog
    • Playground

      Write, test and share your code

    • HTTP Observatory

      Scan a website for free

    • AI Help

      Get real-time assistance and support

  • Log in
  • Sign up for free
  1. 面向开发者的 Web 技术
  2. HTML(超文本标记语言)
  3. HTML 参考
  4. HTML 元素参考
    • English (US)
    • Deutsch
    • Español
    • Français
    • 日本語
    • 한국어
    • Português (do Brasil)
    • Русский
    • 正體中文 (繁體)

此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

在本文中

  • 尝试一下
  • 属性
  • 使用说明
  • 示例
  • 无障碍考虑
  • 技术概要
  • 规范
  • 浏览器兼容性
  • 参见
  1. HTML(超文本标记语言)
  2. 指南
  3. 内容分类
  4. 注释
  5. HTML 中使用的日期与时间格式
  6. 约束验证
  7. viewport meta 标记
  8. 响应式图片
  9. 微数据
  10. 微格式
  11. 怪异模式和标准模式
  12. HTML cheatsheet
  13. How to
  14. Define terms with HTML
  15. 使用数据属性
  16. 允许图片和 canvas 跨源使用
  17. 在图像上层添加点击映射
  18. 编写快速加载的 HTML 页面
  19. Add JavaScript
  20. 参考
  21. HTML 元素
    1. 已弃用
    2. 已弃用

    3. 已弃用
    4. 已弃用
    5. 实验性
    6. 已弃用
    7. 已弃用
    8. 已弃用

无障碍考虑

在 Safari 13 发布之前,contentinfo 地标角色无法通过 VoiceOver 正确显示。如果需要支持传统的 Safari 浏览器,请在 footer 元素中添加 role="contentinfo" 以确保正确显示地标。

  • 相关:WebKit Bugzilla: 146930 - AX:HTML 原生元素(页眉、页脚、主页、旁页、导航)应与 ARIA 地标一样工作,但有时却不一样

技术概要

内容分类 流式内容、可感知内容。
允许的内容 流式内容,但不可以有
或
后代。
标签省略 不允许,开始和结束标签都是必需的。
允许的父元素 任何接受流式内容的元素。请注意,
元素不得是
、
或其他
元素的后代。
隐式 ARIA 角色 contentinfo 或 generic 如果是 article、aside、main、nav 或 section 元素的后代,则为 contentinfo 或 generic,或一个具有 role=article、complementary、main、navigation 或 region 的元素
允许的 ARIA 角色 group、presentation 或 none
DOM 接口 HTMLElement

规范

Specification
HTML
# the-footer-element

浏览器兼容性

参见

  • 其他与分节相关的元素:、
    、
    、
    、h1、h2、h3、 h4、h5、h6、
    、
    、
    、
  • 使用 HTML 分节和大纲
  • ARIA:Contentinfo 角色

Help improve MDN

Learn how to contribute.

This page was last modified on 2025年4月13日 by MDN contributors.

View this page on GitHub • Report a problem with this content
MDN logo

Your blueprint for a better internet.

  • MDN on Bluesky
  • MDN on Mastodon
  • MDN on X (formerly Twitter)
  • MDN on GitHub
  • MDN Blog RSS Feed

MDN

  • About
  • Blog
  • Careers
  • Advertise with us

Support

  • Product help
  • Report an issue

Our communities

  • MDN Community
  • MDN Forum
  • MDN Chat

Developers

  • Web Technologies
  • Learn Web Development
  • MDN Plus
  • Hacks Blog
  • Website Privacy Notice
  • Cookies
  • Legal
  • Community Participation Guidelines

Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2025 by individual mozilla.org contributors. Content available under a Creative Commons license.