The <metadata>
SVG element allows to add metadata to SVG content. Metadata is structured information about data. The contents of <metadata>
elements should be elements from other XML namespaces such as RDF, FOAF, etc.
Categories | Descriptive element |
---|---|
Permitted content | Any elements or character data |
None
This element implements the SVGMetadataElement
interface.
Specification | Status | Comment |
---|---|---|
Scalable Vector Graphics (SVG) 2 The 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 |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 1 | Yes | 1.5 | 9 | 8 | 3 |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | 3 | Yes | Yes | 4 | Yes | 3 | ? |
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata