HTML: The Markup Language

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.

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

Permitted content #

empty (void element)

Permitted attributes #

Descriptions for attributes specific to this element #

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.

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