jump

HTML 5: The Markup Language (ARIA Edition)

meta namename-value metadata # T

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

Permitted contents #

empty (void element)

Permitted attributes #

global attributes
Any attributes permitted globally.
name = string #
Specifies the name part of a name/value pair.
The name specified must either be a standard metadata name defined in the HTML5 specification or a registered extension to the predefined set of metadata names [HTML5].
content = string #
Specifies the value part of a name/value pair.

Additional constraints and admonitions #

Tag omission #

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

Permitted parent elements #

any element that can contain metadata elements

DOM interface #

interface HTMLMetaElement : HTMLElement {
           attribute DOMString name;
           attribute DOMString httpEquiv;
           attribute DOMString content;
};