HTTP-EQUIV Attribute | httpEquiv参数属性
| DHTML文档教程 |
Sets or retrieves information used to bind the META tag's content to an http response header.
dhtml语法
HTML | <META HTTP-EQUIV
= sInformation... >
|
---|
Scripting | META.httpEquiv [ = sInformation ] |
---|
DHTML可能的值
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.
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">
是否符合公共标准
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
更多语法参考
content