Home > Web Front-end > HTML Tutorial > Realize scheduled page refresh or jump based on meta_HTML/Xhtml_Web page production

Realize scheduled page refresh or jump based on meta_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:36:09
Original
1587 people have browsed it

Use meta to refresh or jump the page regularly

XML/HTML CodeCopy content to clipboard
  1. <meta http-equiv="refresh" content="5">

This means that the current page will be refreshed every 5 seconds, refresh ~

XML/HTML CodeCopy content to clipboard
  1. <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 content to clipboard
  1. <meta http-equiv="refresh" content="0; url='http://www.qq.com/'"> ; 

The page jumps directly to Tencent~

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!

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