www.fgks.org   »   [go: up one dir, main page]

Click to Rate and Give Feedback
Properties
 httpEquiv Property
HTTP-EQUIV Attribute | httpEquiv Property

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

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.

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

Applies To

META

See Also

content
Tags What's this?: Add a tag
Community Content
 
Add Community Content
© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker
DCSIMG