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

Detailed explanation of HTML header tag meta to implement refresh redirection

高洛峰
Release: 2017-03-06 15:43:01
Original
1719 people have browsed it

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>
Copy after login

More HTML header tag meta implements refresh redirection Please pay attention to the PHP Chinese website for detailed related articles!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template