jump

HTML 5: The Markup Language (ARIA Edition)

meta http-equiv=default-style“preferred stylesheet” pragma directive # T

The meta element with a http-equiv attribute whose value is "default-style" represents a pragma directive that specifies the document’s preferred stylesheet.

Permitted contents #

empty (void element)

Permitted attributes #

global attributes
Any attributes permitted globally.
http-equiv = d:string "default-style" #
Indicates that the meta element is a pragma directive that specifies the document’s preferred stylesheet.
content = default-style name #
Specifies the name of the document’s preferred stylesheet. The name must meet either of the following sets of constraints:
  • The name must match the value of the title attribute on a link element in the same document, and that link element must have an href attribute that references the location of a CSS stylesheet.
  • The name must match the value of the title attribute on a style element in the same document, and the contents of that element must be a CSS stylesheet.

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, noscript

DOM interface #

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