HTML DOM httpEquiv Property
Complete Meta Object Reference
Definition and Usage
The httpEquiv property connects the content attribute to an HTTP header.
Syntax
metaObject.httpEquiv=content-type|expires|refresh|set-cookie
|
Example
The following example refreshes a page every 5 second:
<html>
<head>
<meta http-equiv="refresh" content="5" />
</head>
<body>
<script type="text/javascript">
x=document.getElementsByTagName("meta")[0];
document.write("Http equiv: " + x.httpEquiv);
</script>
</body>
</html>
|
Try-It-Yourself Demos
Refresh a page every 5 second
Redirect a user after 5 seconds
Complete Meta Object Reference
|
|
|
See why there are 20,000+ Ektron integrations worldwide.
Request an INSTANT DEMO or download a FREE TRIAL today. |
|
|
|