HTML
<figcaption>
or Figure Caption element
represents a caption or legend describing the rest of the contents of its parent
<figure>
元素。
| 内容类别 | None. |
|---|---|
| 准许内容 | 流内容 . |
| 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.
|
| Implicit ARIA role | 无对应角色 |
| Permitted ARIA roles |
group
,
none
,
presentation
|
| DOM 接口 |
HTMLElement
|
此元素只包括 全局属性 .
请参阅
<figure>
page for examples on
<figcaption>
.
| 规范 | 状态 | 注释 |
|---|---|---|
|
HTML 实时标准
The definition of '<figcaption>' in that specification. |
实时标准 | |
|
HTML5
The definition of '<figcaption>' in that specification. |
推荐 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
figcaption
|
Chrome 完整支持 8 | Edge 完整支持 12 | Firefox 完整支持 4 | IE 完整支持 9 | Opera 完整支持 11 | Safari 完整支持 5.1 | WebView Android 完整支持 Yes | Chrome Android 完整支持 Yes | Firefox Android 完整支持 4 | Opera Android 完整支持 11 | Safari iOS 完整支持 5.1 | Samsung Internet Android 完整支持 Yes |
完整支持
<figure>
元素。