Redirect your page

From SchoolsWiki
Jump to: navigation, search

Netscape introduced a feature to refresh the displayed page after a certain amount of time. This method is often called meta refresh. It is possible to specify the URL of the new page, thus replacing one page after some time by another page:

A timeout of 0 seconds means an immediate redirect.

This is an example of a simple HTML document that uses this technique.

Create a page called index.html containing the following, as shown below.

     <meta http-equiv="Refresh" content="0; url=" />
  • The number "0" in this example may be replaced by another number to achieve a delay of that many seconds.
  • Replace with the url of your choice i.e
  • This technique is usable by all web authors because the meta tag is contained inside the document itself.