HTML 5: The Markup Language (ARIA Edition)

meta namename-value metadata # T

The meta element with a name attribute sets document metadata in the form of name/value pairs.

Content model #

Attribute model #

Element-specific attributes #

name = string
Specifies the name part of a name/value pair.
content = string
Specifies the value part of a name/value pair.

Tag omission #

The meta element is a void element. A meta element must have a start tag but must not have an end tag.

Additional constraints #

The name attribute on the meta element must be either a defined metadata name or a registered metadata name.

A defined metadata name is any of the following:

description
When the name attribute is set to "description", the value of the content attribute must be a string that describes the page.
generator
When the name attribute is set to "generator", the value of the content attribute must be a string that identifies the software used to generate the document.
application-name
When the name attribute is set to "application-name", the value of the content attribute must be a string representing the name of the Web application that the page represents.

A registered metadata name is any metadata name registered in the central MetaExtensions registration page.

Permitted contexts #