<figcaption>:图像标题元素
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
尝试一下
属性
该元素仅包含全局属性。
示例
有关 <figcaption>
的示例,请参见 <figure>
页面。
技术概要
内容分类 | 无。 |
---|---|
允许的内容 | 流式内容。 |
标签省略 | 不允许,开始标签和结束标签都不能省略。 |
允许的父元素 |
<figure> 元素;<figcaption> 元素必须是它的第一个或者最后一个子节点。
|
隐式 ARIA 角色 | 没有对应的角色 |
允许的 ARIA 角色 |
group 、none 、presentation
|
DOM 接口 | HTMLElement |
规范
Specification |
---|
HTML # the-figcaption-element |
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
figcaption |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
参见
<figure>
元素。