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

CategoriesDescriptive element
Permitted contentAny 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

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support1 Yes1.5983
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support3 Yes Yes4 Yes3 ?

Document Tags and Contributors

Contributors to this page: fscholz, mattwojo, Sebastianz, kscarfone, Jeremie, Manuel_Strehl
Last updated by: fscholz,