SVG参考手册
分类 | Elements
metadata
该<metadata>
SVG元素允许添加元数据到SVG内容。元数据是关于数据的结构化信息。<metadata>
元素的内容应该来自其他XML 名称空间的元素,如RDF,FOAF
用法上下文
分类 |
描述性元素 |
---|---|
允许的内容 |
任何元素或字符数据 |
属性
全局属性
- Core attributes
- Global event attributes
具体属性
None
DOM接口
这个元素实现了SVGMetadataElement
接口。
产品规格
Specification |
Status |
Comment |
---|---|---|
Scalable Vector Graphics (SVG) 2The definition of '<metadata>' in that specification. |
Candidate Recommendation |
Allowed global event attributes on the element. |
Scalable Vector Graphics (SVG) 1.1 (Second Edition)The definition of '<metadata>' in that specification. |
Recommendation |
Initial definition |
浏览器兼容性
Feature |
Chrome |
Edge |
Firefox (Gecko) |
Internet Explorer |
Opera |
Safari |
---|---|---|---|---|---|---|
Basic support |
1.0 |
(Yes) |
1.5 (1.8) |
9.0 |
8.0 |
3.0.4 |
Feature |
Android |
Edge |
Firefox Mobile (Gecko) |
IE Phone |
Opera Mobile |
Safari Mobile |
---|---|---|---|---|---|---|
Basic support |
3.0 |
(Yes) |
1.0 (1.8) |
No support |
(Yes) |
3.0.4 |