Monday, June 28, 2010

Auto Refreshing Web Page

I want to see cricket match score on yahoo, i just logged on cricket page. I get what i want, but one thing i notice the page is refreshed after certain seconds. I was just thinking that how it has done. Finally i got my answer which is very simple.

<META http-equiv="REFRESH" content="5";>

Just including this tag in head section of html page, page will auto redirected after every 5 seconds.

<meta http-equiv="REFRESH" content="0;URL='filename.mp3'" >
By this way u can run background music. Instead of that i suggest use embed tag. Using embed tag we can run video files also.

No comments:

Post a Comment