Home > Web Front-end > HTML Tutorial > Realize regular page refresh or jump based on meta

Realize regular page refresh or jump based on meta

高洛峰
Release: 2017-02-22 11:42:19
Original
1363 people have browsed it

This article mainly introduces the relevant information about the scheduled refresh or jump of the page based on meta. Friends in need can refer to the following

Using meta to realize the scheduled refresh or jump of the page


XML/HTML CodeCopy content to clipboard

<meta http-equiv="refresh" content="5">   

This means that the current page is refreshed every 5 seconds, refresh it~


XML/HTML Code Copy content to clipboard

<meta http-equiv ="refresh" content="2; url='/'">

This means that the current page will jump to the home page in 2 seconds~

XML/HTML CodeCopy the content to the clipboard

<meta http-equiv="refresh" content="0; url='http://www.qq.com/'">

The page jumps directly to Tencent.com~

The above is the relevant knowledge introduced by the editor to implement regular page refresh or jump based on meta. I hope it will be helpful to everyone!

For more related articles about timing page refresh or jump based on meta, please pay attention to the PHP Chinese website!

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