How to auto refresh a page?

 

Question:

How to auto refresh a page?

 

Answer:

It is possible to instruct the browser to automatically reload a web page at specific intervals. Use the following meta tag in the <head> section of your webpage:

<meta http-equiv="refresh" content="5" >

The number 5 in the example above can be changed to the number of seconds you would want between each reloads.

It is also possible to instruct the browser to fetch a different URL when the page is refreshed. To do so use this variation of the meta tag:

<meta http-equiv="refresh" content="5;URL='http://yoursite.com/'">

Known issue: Meta refresh impairs the web browser's "back" button in some browsers including IE 6 and older.