Home >Web Front-end >HTML Tutorial >Detailed explanation of HTML header tag meta to implement refresh redirection
This article mainly introduces the HTML header tag meta to implement refresh redirection. Friends who need it can refer to
The code is as follows:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312" /> <meta http-equiv="Refresh" content="5;url=http://www.php.cn/"> </head> <body> <p> 对不起。我们已经搬家了。您的 URL 是 <a href="http://www.baidu.com">http://www.php.cn/;/a> </p> <p>您将在 5 秒内被重定向到新的地址。</p> <p>如果超过 5 秒后您仍然看到本消息,请点击上面的的链接。</p> </body> </html>
More HTML header tag meta implements refresh redirection Please pay attention to the PHP Chinese website for detailed related articles!