HTML Tutorial





Español Français 中文 Deutsch Portuguese Japanese nederlands
   
 
HTML Basic
Introduction
How To
HTML Tags
html, head, body
Text Manipulation
IMAGES
Special Effects
Using Tables
Forms
Other Topics
 

ADVANCED HTML
Introduction
Media
Meta Tag
Frame tags
Fieldset
Tooltip
DTD
Image tags
Subscript & Superscript
Bullet styles
Canvas
Other tags
Ask Your Doubts
More about HTML
Feedback
 




Auto refresh / Reload web page


Tutorials Html

Topic

I want the web page to be reloading itself after every few seconds?
How can I make my html page to auto refresh?



Explanation


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.




Other Links

web hosting