How to refresh a page with plain HTML

shabbir's Avatar author of How to refresh a page with plain HTML
This is an article on How to refresh a page with plain HTML in Web Design, HTML And CSS Tutorials.
Many developers in search engine arena thinks that as meta's are not that important to use in search engines but thats not all the meta's can do. If you would like to refresh a page after certain interval of time you can do that in just a single line using Meta's and you dont need any server side language nor any load on the server for the same.

Just introduce the following line in your Metas and your page will refresh every 60 seconds.

<meta http-equiv="Refresh" content="60;url=http://www.go4expert.com">

This type of code can be useful for displaying user a message and redirect him after displaying the message. This does not need any overhead of server side and so is better than server side processing and delaying of timer to refresh the page.
sterling45's Avatar
Go4Expert Member
Excellent, just what I was looking for. Thanks Do you reccommend that we keep the page refreshed every 60 seconds? If it refreshed less than 60 seconds, does that effect the site negatively in any way?
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
We should not be refreshing the pages all the time but for pages which has some live matter on it should be done. Something like Score card of a match or some share market quotes ...
sterling45's Avatar
Go4Expert Member
Quote:
Originally Posted by shabbir
We should not be refreshing the pages all the time but for pages which has some live matter on it should be done. Something like Score card of a match or some share market quotes ...
Great, I'll stick to 60 seconds just to stay safe. Refreshing a lot probably takes up a lot of bandwidth too if the visitor is staying at your site for a long period of time?
pietrom's Avatar, Join Date: Feb 2007
Light Poster
Is it possible to refresh a web page only when a certain (local) file is modified?
In this way I would not have to refresh the hole page periodically even if it is not necessary...