metadata
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
metadata
是数据的结构化数据。SVG 内容里面包含的元数据必须放在metadata
元素里面。medatata
的内容物必须是来自其他 XML 命名空间的元素,比如说 RDF、FOAT,等等。
使用上下文
类别 | 描述性元素 |
---|---|
允许的内容 | 任意元素或字符数据 |
示例
属性
全局属性
- 核心属性 »
专有属性
没有专有属性。
DOM 接口
该元素实现了 SVGMetadataElement
接口。
浏览器兼容性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
metadata |
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.