<footer>
尝试一下
- 内容分类 (en-US) 流内容 (en-US), 可触内容。
- 允许的内容 流内容 (en-US),但是不能包含<footer>或者
<header>
。 - 标签省略 不允许,开始标签和结束标签都不能省略。
- 允许的父元素任何接收流内容 (en-US)的元素。注意<footer>元素必须不能是
<address>
,<header>
或者另一个<footer>
元素的后代元素。 - DOM 接口
HTMLElement
属性
该元素仅包含 全局属性 (en-US)。
使用说明
例子
html
<footer>
Some copyright info or perhaps some author info for an <article>?
</footer>
规范
Specification |
---|
HTML Standard # the-footer-element |
浏览器兼容性
BCD tables only load in the browser