Home  >  Article  >  Web Front-end  >  Detailed explanation of HTML header tag meta to implement refresh redirection

Detailed explanation of HTML header tag meta to implement refresh redirection

高洛峰
高洛峰Original
2017-03-06 15:43:011612browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn