httpEquiv
This page has been flagged with the following issues:
High-level issues:
| Applies to | ? |
|---|
Examples
This example causes the browser to reload the document every two seconds.
<meta http-equiv="refresh" content="2">
This example sets the character set for the document.
<meta http-equiv="Content-Type"
content="text/html; charset=utf-8">
This example disables theme support for the document.
<meta http-equiv="msthemecompatible" content="no">
This example tells Internet Explorer to display a webpage in IE9 mode, if possible.
<meta http-equiv="X-UA-Compatible" content="IE=9">
Notes
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 documents from alternate URLs should treat the value of content as untrusted data. For more information, please see Security Considerations: Dynamic HTML.
As of Windows Internet Explorer 8, the httpEquiv attribute also supports a value of x-ua-compatible, which allows developers to specify the document compatibility mode that Windows Internet Explorer should use to display a webpage. To do this, set the content attribute to a String value containing a comma-delimited list of one or more of the following values.
{
Syntax
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 7.4.4
See also
Related articles
html
warning.png"html" is not in the list of possible values (Canvas, CSS Font, CSS Layout, Animation, Audio, Background, Border, Box Model, CSS Attributes, CSSOM, Combinators, Deprecated, Document Structure, Exclusions, FileSystemAPI, Filters, Flexbox, Fonts, Generated and Replaced Content, Gradients, Grid Layout, HTML, Multimedia, Media Queries, Mobile, Multi-Column, Off-line Storage, Paged Media, Performance, Pointer Events, Pseudo-Classes, Pseudo-Elements, Regions, Responsive Web Design, Ruby, Scrollbar, Selectors, Security, Syntax, Tables, Text, Touch, Transforms, Transitions, Video, Visual Effects, Web Components, WebRTC, XHR) for this property.
Related pages (MSDN)
ReferencecontentmetaConceptualDefining Document Compatibility
This article contains content originally from external sources.
Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]
This tool helps to make and review comments inline.
How to Use
insert instructions, with images, here