HTTP-EQUIV Attribute | httpEquiv Property

Internet Development Index

Sets or retrieves information used to bind the META tag's content to an HTTP response header.

Syntax

HTML<META HTTP-EQUIV = sInformation... >
ScriptingMETA.httpEquiv [ = sInformation ]

Possible Values

sInformationString 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.

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 Non-Microsoft link and is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

META

See Also

content