?
This document uses PHP Chinese website manual Release
HTML <footer> 元素表示最近一個章節(jié)內(nèi)容或者根節(jié)點(sectioning root )元素的頁腳。一個頁腳通常包含該章節(jié)作者、版權(quán)數(shù)據(jù)或者與文檔相關(guān)的鏈接等信息。
內(nèi)容類別 | 流量的內(nèi)容,明顯的內(nèi)容。 |
---|---|
允許的內(nèi)容 | 流內(nèi)容,但沒有<footer>或<header>后代。 |
標(biāo)記遺漏 | 沒有,起始和結(jié)束標(biāo)簽都是強制性的。 |
允許的父母 | 任何接受流內(nèi)容的元素。請注意,<footer>元素不能是<address>,<header>或另一個<footer>元素的后代。 |
允許ARIA角色 | 組,演示文稿 |
DOM界面 | HTML元素 |
該元素僅包含 全局屬性。
使用說明:
<footer>元素內(nèi)的作者信息應(yīng)包含在<address>
元素中。
<footer>元素不是章節(jié)內(nèi)容,因此在outline中不能包含新的章節(jié)。
<footer> Some copyright info or perhaps some author info for an <article>?</footer>
Specification | Status | Comment |
---|---|---|
HTML Living StandardThe definition of '<footer>' in that specification. | Living Standard | |
HTML5The definition of '<footer>' in that specification. | Recommendation |
Feature | Chrome | Edge | Firefox | Internet Explorer | Opera | Safari |
---|---|---|---|---|---|---|
Basic Support | 5 | (Yes) | 4 | 9 | 11.1 | 4.1 |
Feature | Android | Chrome for Android | Edge mobile | Firefox for Android | IE mobile | Opera Android | iOS Safari |
---|---|---|---|---|---|---|---|
Basic Support | (Yes) | (Yes) | (Yes) | 4 | 9 | 11 | 4.2 |