Meta HTTP-EQUIV = "refresh" for Automatic Webpage redirect

Source: Internet
Author: User
Meta HTTP-EQUIV = "refresh" Web page Jump

Generally, HTML files must be browsed by the viewer. If you want to change the displayed content automatically, JavaScript, Java, CGI, and other methods are used.

Now you can use Meta to automatically change the display content. You can set the time and file for the change. The statement is as follows:

<Head>

<Title> refresh content </title>

<Meta HTTP-EQUIV = "refresh" content = "X; url = *. *">

</Head>

X indicates the refresh time, in seconds. *. * Indicates the refreshed file.

Use the <meta> tag to automatically redirect the web.

A piece of welcome information is displayed on the web. after a certain number of seconds, the system automatically jumps to other web pages, which can produce novel results. The implementation method is to add the following statement between the

<Meta http-equiv = "refresh" content = "seconds; url = redirected file or address">

For example, store welcome.gif in the same image as the HTML document.

Directory, the following HTML file is displayed in the browser, will automatically jump to the Home Page 3 seconds later

<Head>

<Title> welcome </title>



automatically jump to the mountain migration Studio 3 seconds later

pages with similar content and different backgrounds, let them automatically jump to each other at a certain time.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.