You are on page 1of 1

Auto refresh / Reload web page

To make the page reload or refresh itself, we have to use the following code inside the head tag
<meta http-equiv="refresh" content="5" >

The attribute http-equiv="refresh" calls for refresh of the page.


The attribute content="5" sets the time for refresh.
The time after which the page has to reload is set using the content attribute.
Say if you want the page to refresh after 10 seconds interval, set content value to 10.
We would recommend the time of refresh [reloading interval] be above 5 seconds. This is
because you have to consider the page loading time.

You might also like