meta (metadata)

meta (metadata) elements contain metadata about the document.

See also:

Content category

Pseudo-classes

N/A

Attributes

  • name applies document-level metadata.
  • http-equiv applies a pragma directive equivalent to an HTTP header:
    • content-security-policy sets the content policy for the document.
    • content-type sets the document's MIME type and encoding; must be set to text/html"; charset=utf-8.
    • default-style sets the name of the default style sheet set.
    • x-ua-compatible is ignored, except in Internet Explorer.
    • refresh specifies the number of seconds to wait before reloading (if just a number). This can be suffixed with ;url= and a URL to redirect to another URL.
  • content sets the value of the http-equiv or name.
  • charset sets the document character set.
  • media makes the tag do something.

References