Click here to Skip to main content
Click here to Skip to main content

Automatically refresh page after some interval

, 19 Jun 2011
Rate this:
Please Sign up or sign in to vote.
Automatically refresh page after some interval
You can easily make your page refresh itself after every certain specified interval. For this we make use of meta tag.
 
Usage
<meta http-equiv="refresh" content="60">
 
This meta tag will be included inside <head> tag
Here http-equiv="refresh" tells that page need to be reloaded.
content=60 tells the time delay after which the page gets reloaded.
 
You may change the time to a time delay which you want.
 
Note
Content=60 gives the time in seconds, i.e. 60 seconds in example above.
The page will reload every time after every 60 sec or the time you specify.
You can even use meta to redirect to other page after certain interval.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

csanuragjain
Software Developer
India India
I am a Java software developer. I like to make new software which can be really helpful to people. You may get in touch with me at http://www.martcode.com

Comments and Discussions

 
Questionauto refresh Pinmemberjaishwal30-Oct-13 21:02 
GeneralReason for my vote of 5 Well done Pinmemberramakrishnankt27-Jun-11 22:42 
Reason for my vote of 5
Well done
GeneralReason for my vote of 1 . PinmemberAnuj Tripathi21-Jun-11 3:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 20 Jun 2011
Article Copyright 2011 by csanuragjain
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid