HTML 网页<head></head>里的 <meta http-equiv="refresh" content="0;url=">

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<!-- 定时重定向 content后面的数字单位是秒,url是目标网址 -->
<meta http-equiv="Refresh" content="5;url=http://www.w3school.com.cn" /> </head> <body> <p> 对不起。我们已经搬家了。您的 URL 是 <a href="http://www.w3school.com.cn">http://www.w3school.com.cn</a> </p> <p>您将在 5 秒内被重定向到新的地址。</p> <p>如果超过 5 秒后您仍然看到本消息,请点击上面的链接。</p> </body> </html>

 

posted @ 2017-04-06 16:45  Mr-Lim  阅读(1397)  评论(0编辑  收藏  举报