Sets or retrieves information used to bind the META tag's content to an HTTP response header.
Syntax
HTML | <META HTTP-EQUIV
= sInformation... >
|
---|
Scripting | [ sInformation = ] META.httpEquiv |
---|
Possible Values
sInformation | String that
specifies or receives the information in the response header. See HTTP Response Headers for a list of possible values. |
The property is read/write.
The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Remarks
If the property is omitted, the name property should be used to identify the meta-information. The httpEquiv property is not case-sensitive.
Developers using the httpEquiv and content attributes to refresh web pages from alternate URL's should treat the value of content as untrusted data. For more information, please see Security Considerations: Dynamic HTML.
Examples
This example causes the browser to reload the document every two seconds.
<META HTTP-EQUIV="REFRESH" CONTENT=2>
This example disables theming support for the document.
<META HTTP-EQUIV="MSTHEMECOMPATIBLE" CONTENT="no">
Standards Information
This property is defined in
HTML 3.2 and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
See Also
content