?
? ????? PHP ??? ???? ??? ?? ??
HTML <footer> 元素表示最近一個章節(jié)內容或者根節(jié)點(sectioning root )元素的頁腳。一個頁腳通常包含該章節(jié)作者、版權數(shù)據(jù)或者與文檔相關的鏈接等信息。
內容類別 | 流量的內容,明顯的內容。 |
---|---|
允許的內容 | 流內容,但沒有<footer>或<header>后代。 |
標記遺漏 | 沒有,起始和結束標簽都是強制性的。 |
允許的父母 | 任何接受流內容的元素。請注意,<footer>元素不能是<address>,<header>或另一個<footer>元素的后代。 |
允許ARIA角色 | 組,演示文稿 |
DOM界面 | HTML元素 |
該元素僅包含 全局屬性。
使用說明:
<footer>元素內的作者信息應包含在<address>
元素中。
<footer>元素不是章節(jié)內容,因此在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 |