jump

HTML: The Markup Language Reference

meta http-equiv=content-language“default language” pragma directive OBSOLETE # T

The meta element with a http-equiv attribute whose value is "content-language" represents a pragma directive that specifies a document-wide default language.

Using the meta element to specify the document-wide default language is obsolete. Consider specifying the language on the root element instead.

Permitted contents #

empty (void element)

Permitted attributes #

global attributes & http-equiv="content-language" & content

global attributes
Any attributes permitted globally.
http-equiv = "content-language" #
Indicates that the meta element is a pragma directive that specifies a document-wide default language.
content = language tag #
Specifies a language to use as the document-wide default language.
A valid language tag as defined in [BCP 47].

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;
};