<metadata>

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩.

The <metadata> SVG element adds metadata to SVG content. Metadata is structured information about data. The contents of <metadata> should be elements from other XML namespaces such as RDF, FOAF, etc.

Usage context

CategoriesDescriptive element
Permitted contentAny elements or character data

Attributes

This element only includes global attributes.

DOM Interface

This element implements the SVGMetadataElement interface.

Example

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# MetadataElement

Browser compatibility