docs.rodeo

MDN Web Docs mirror

name attribute

The name attribute of the {{htmlelement("meta")}}  element provides metadata in name-value pairs. When a <meta> element has a name attribute, a content attribute defines the corresponding value. The metadata is document-level metadata that applies to the whole page.

For example, the following <meta> tag provides a description as metadata for a document:

<meta
  name="description"
  content="The HTML reference describes all elements and attributes of HTML, including global attributes that apply to all elements." />

Value

Meta names defined in the HTML specification

The HTML specification defines the following set of standard metadata names:

Meta names defined in other specifications

The CSS Device Adaptation specification defines the following metadata name:

Meta names defined in the WHATWG MetaExtensions wiki

The WHATWG Wiki MetaExtensions page contains a large set of non-standard metadata names. Some of the names included are used quite commonly in practice, notably the following:

Specifications

{{Specifications}} 

Browser compatibility

{{Compat}} 

See also

In this article

View on MDN