This page is Not Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

content

Applies to ?
Internationalization topics related to the `content` element:

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 document in IE9 mode, if possible.

<meta http-equiv="X-UA-Compatible" content="IE=9">

Notes

Remarks

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 Internet Explorer 8, the httpEquiv attribute also supports a value of x-ua-compatible, which allows developers to specify the document compatibility mode that 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

See also

Related pages

  • Reference
  • httpEquivhttpEquiv
  • meta
  • Conceptual
  • Defining Document Compatibility

Attributions