HTML头标签meta实现refresh重新定向
author:一佰互联 2019-04-20   click:162

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