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

Realize regular page refresh or jump based on meta

高洛峰
高洛峰Original
2017-02-22 11:42:191313browse

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!

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