HTML: Auto Refresh, Auto Redirect

By Xah Lee. Date: . Last updated: .

Note: this technology is from 1990s. Since 2016, Firefox and other browsers don't support it anymore.


If you want visitor's broswer to automatically refresh periodically, put the following code in the HTML's <head> tag:

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

The “10” means very 10 seconds.


To redirect to another page, use this:

<meta http-equiv="refresh" content="0; url=">