From 82ba818ff456bcd6d56a06226e3f27e98fbb55c3 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 14 Aug 2025 22:58:58 -0500 Subject: removing all downloaded devdocs files --- devdocs/html/element%2Fmeta.html | 131 --------------------------------------- 1 file changed, 131 deletions(-) delete mode 100644 devdocs/html/element%2Fmeta.html (limited to 'devdocs/html/element%2Fmeta.html') diff --git a/devdocs/html/element%2Fmeta.html b/devdocs/html/element%2Fmeta.html deleted file mode 100644 index 0136b0fe..00000000 --- a/devdocs/html/element%2Fmeta.html +++ /dev/null @@ -1,131 +0,0 @@ -

<meta>: The metadata element

-

The <meta> HTML element represents metadata that cannot be represented by other HTML meta-related elements, like <base>, <link>, <script>, <style> or <title>.

Content categories Metadata content. If the itemprop attribute is present: flow content, phrasing content.
Permitted content None; it is a void element.
Tag omission As it is a void element, the start tag must be present and the end tag must not be present.
Permitted parents
Implicit ARIA role No corresponding role
Permitted ARIA roles No role permitted
DOM interface HTMLMetaElement

The type of metadata provided by the <meta> element can be one of the following:

-
-

Attributes

-
-

This element includes the global attributes.

Note: the attribute name has a specific meaning for the <meta> element, and the itemprop attribute must not be set on the same <meta> element that has any existing name, http-equiv or charset attributes.

charset

This attribute declares the document's character encoding. If the attribute is present, its value must be an ASCII case-insensitive match for the string "utf-8", because UTF-8 is the only valid encoding for HTML5 documents. <meta> elements which declare a character encoding must be located entirely within the first 1024 bytes of the document.

content

This attribute contains the value for the http-equiv or name attribute, depending on which is used.

http-equiv

Defines a pragma directive. The attribute is named http-equiv(alent) because all the allowed values are names of particular HTTP headers:

  • content-security-policy Allows page authors to define a content policy for the current page. Content policies mostly specify allowed server origins and script endpoints which help guard against cross-site scripting attacks.
  • content-type Declares the MIME type and the document's character encoding. The content attribute must have the value "text/html; charset=utf-8" if specified. This is equivalent to a <meta> element with the charset attribute specified and carries the same restriction on placement within the document. Note: Can only be used in documents served with a text/html — not in documents served with an XML MIME type.
  • default-style Sets the name of the default CSS style sheet set.
  • x-ua-compatible If specified, the content attribute must have the value "IE=edge". User agents are required to ignore this pragma.
  • -refresh This instruction specifies:
    • The number of seconds until the page should be reloaded - only if the content attribute contains a non-negative integer.
    • The number of seconds until the page should redirect to another - only if the content attribute contains a non-negative integer followed by the string ';url=', and a valid URL.

    Warning:

    Pages set with a refresh value run the risk of having the time interval being too short. People navigating with the aid of assistive technology such as a screen reader may be unable to read through and understand the page's content before being automatically redirected. The abrupt, unannounced updating of the page content may also be disorienting for people experiencing low vision conditions.

name

The name and content attributes can be used together to provide document metadata in terms of name-value pairs, with the name attribute giving the metadata name, and the content attribute giving the value.

See standard metadata names for details about the set of standard metadata names defined in the HTML specification.

-
-

Examples

-
-

html

-
<meta charset="utf-8" />
-
-<!-- Redirect page after 3 seconds -->
-<meta http-equiv="refresh" content="3;url=https://www.mozilla.org" />
-
-
-

Specifications

-
- - -
Specification
HTML Standard
# the-meta-element
-

Browser compatibility

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariWebView AndroidChrome AndroidFirefox for AndroidOpera AndroidSafari on IOSSamsung Internet
meta1121Yes≤12.114.4184≤12.111.0
charset1121Yes1534.41841421.0
content1121≤6≤12.1≤44.4184≤12.1≤3.21.0
http-equiv1121≤6≤12.1≤44.4184≤12.1≤3.21.0
name1121≤6≤12.1≤44.4184≤12.1≤3.21.0
-

See also

-
-

- © 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta -

-
-- cgit v1.2.3