Javascript Reference
Categories: META

javascript META httpEquiv

@March 15, 2008, 1:22 a.m.
httpEquivFirefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1  

Read/Write  

This is the equivalent of the name of a name/value pair. The property's corresponding http-equiv attribute is usually accompanied by a content attribute, which acts as the "value" portion of the name/value pair. The author may elect to use the name attribute instead of the http-equiv attribute, but only one may be set. Adjust only the property corresponding to the attribute used in the meta element's tag. Then be sure to set the content property with a value that makes sense with the httpEquiv or name property.

 
Example
 
document.getElementById("refreshMeta").httpEquiv = "expires";
 
Value

String.

 
Default

None.


Powered by Linode.