httpEquiv 属性把 content 属性连接到 HTTP 头部。
</>code
- metaObject.httpEquiv=content-type|expires|refresh|set-cookie
本例每 5 秒刷新页面:
</>code
- <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>
如对本文有疑问,请提交到交流论坛,广大热心网友会为你解答!! 点击进入论坛
Powered by 365建站网 RSS地图 HTML地图
copyright © 2013-2024 版权所有 鄂ICP备17013400号