We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

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

The HTML <figcaption> element represents a caption or a legend associated with a figure or an illustration described by the rest of the data of the <figure> element which is its immediate ancestor.

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

文件標籤與貢獻者

最近更新: teoli,