Home  >  Article  >  Web Front-end  >  Three types of codes for automatic refresh of web pages_HTML/Xhtml_Web page production

Three types of codes for automatic refresh of web pages_HTML/Xhtml_Web page production

WBOY
WBOYOriginal
2016-05-16 16:42:02994browse

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. Automatic page refresh: Add the following code to the

area

, with 20 fingers refreshing the page every 20 seconds.

2. Automatic page jump: Add the following code to the area

, where 20 fingers will jump to the http://www.jb51.net page

after 20 seconds. 3. The page automatically refreshes js version



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