|
<META ...>To have the page automatically refresh itself every x seconds, use a tag like this:
| this code |
<META HTTP-EQUIV="REFRESH" CONTENT="5"> |
This tells the browser to refresh the page
(HTTP-EQUIV="REFRESH"),
and that it should do so every five seconds
(CONTENT="5").
Suppose, however, that you want the page to refresh itself by going automatically to
another page. This is common, for example, when someone has moved their home page to a new location, but want someone who goes to the old location to still find a pointer. You could put this <META ...>
| this code | produces this |
<META
HTTP-EQUIV="Refresh"
CONTENT="5; URL=autoforward_target.html">
|
this page |
In this case the <META ...>CONTENT="5; URL=autoforward_target.html" tells the browser that the page should be refreshed.
CONTENT="5; URL=autoforward_target.html"autoforward_target.html .
In a situation like this, you should also provide a regular link to the new page.
Copyright 1997-2002 Idocs Inc. Content in this guide is offered freely to the public under the terms of the Open Content License and the Open Publication License. Contents may be redistributed or republished freely under these terms so long as credit to the original creator and contributors is maintained.