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.
Usage context
Categories | Descriptive element |
---|---|
Permitted content | Any elements or character data |
Attributes
Global attributes
Specific attributes
None
DOM Interface
This element implements the SVGMetadataElement
interface.
Specifications
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 |
Browser compatibility
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 |
The chart is based on these sources.