HTML http-equiv Attribute
Example
<head>
<meta http-equiv="refresh" content="3">
</head>
Meaning
The http-equiv attribute binds the meta-information in the content attribute to an equivalent HTTP response header.
Note: If this attribute is present, the name attribute should not be used.
Standard Syntax
HTML: <meta http-equiv="content-security-policy|content-type|default-style|refresh">
XHTML: <meta http-equiv="content-security-policy|content-type|default-style|refresh" />
Browser Support
Status
Applies to:
The http-equiv attribute can be used on the following element:
Element | Attribute |
---|---|
<meta> | http-equiv |
Attribute Values
Value | Description |
---|---|
content-security-policy | Allows page authors to define a content policy for the current page. |
content-type | Declares the MIME type and character encoding of the document. |
default-style | Sets the name of the default alternative 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 | Acts as timed redirect.
|