<meta http-equiv="Refresh" content="n;url">
【作用】:
页面经过n秒(content)后自动跳到url页面.
并且如果url加载需要很长时间,当前页面会等待url完全运行完后再一次加载。
【详解】:
[引]: http://www.html-reference.com/META_httpequiv_refresh.asp
Description:
Indicates the document displays for a specified amount of time before switching to a new URL. The full absolute URL must be specified.
This is very useful (in fact it is recommended) when you need to move or rename a page on your site. Since search engines make have your page in their index, it is wise to include a redirect page to not lose those visitors.
Be sure and also include a link to the new page to support browsers which do not support this tag.
Both Internet Explorer and Netscape support this feature.
Attributes:
<meta http-equiv="Refresh" content="n;url">
n is the number of seconds to wait before loading the specified URL.
url is an absolute URL to be loaded.
Examples:
<META HTTP-EQUIV="refresh" content="1;URL=http://www.lowefamily.us/"> |