# metadata

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.

None

This element implements the SVGMetadataElement interface.

Usually, this element is create with:

const metadata = parentElement.add('metadata')

It's possible create as a disconnected element with gySVG('metadata') and attach it to the SVG document with .attachTo().

More info: mdn (opens new window) | w3c (opens new window)