我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

The HTML <figcaption> element represents a caption or legend for the rest of the contents its parent <figure> element, if any.

Content categories None.
Permitted content Flow content.
Tag omission None, both the starting and ending tag are mandatory.
Permitted parents A <figure> element; the <figcaption> element must be its first or last child.
Permitted ARIA roles group, presentation
DOM interface HTMLElement

Attributes

This element only includes the global attributes.

Examples

Please see the <figure> page for examples on <figcaption>.

Specifications

Specification Status Comment
HTML Living Standard
The definition of '<figcaption>' in that specification.
Living Standard  
HTML5
The definition of '<figcaption>' in that specification.
Recommendation  

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support8 Yes49115.1
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support Yes Yes Yes4115.1 Yes

See also

文件標籤與貢獻者

最近更新: mfluehr,