Home >php教程 >PHP开发 >Three types of codes for automatic refresh of web pages

Three types of codes for automatic refresh of web pages

高洛峰
高洛峰Original
2016-12-17 15:39:371528browse

In fact, it is very simple to achieve this effect, and this effect cannot even be called a special effect. You just need to add the following code to your web page.

1. Automatically refresh the page: Add the following code to the area

, where 20 means refreshing the page every 20 seconds.

2. The page automatically jumps: add the following code to the area

, Among them, 20 fingers will jump to the http://www.php.cn page after 20 seconds

3. The page automatically refreshes the js version



More 3 types of automatic page refresh For code-related articles, 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