HTMLMetaElement: scheme property - Web APIs | MDN

Value

A string.

Examples

The following example queries a <meta> element that contains a name attribute with the value of identifier. The scheme value is logged to the console to display the scheme of the metadata content:

js

// given <meta name="identifier" content="1580081754" scheme="ISBN">
const meta = document.querySelector("meta[name='identifier']");
console.log(meta.scheme);
// "ISBN"

Specifications

Specification
HTML
# dom-meta-scheme

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.