我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Basic supportChrome Full support 8Edge Full support YesFirefox Full support 4IE Full support 9Opera Full support 11Safari Full support 5.1WebView Android Full support YesChrome Android Full support YesEdge Mobile Full support YesFirefox Android Full support 4Opera Android Full support 11Safari iOS Full support 5.1Samsung Internet Android Full support Yes

Legend

Full support  
Full support

See also

文件標籤與貢獻者

最近更新: wbamberg,