Total Pageviews

Monday, 15 October 2012

Auto refresh code in html using meta tags


Place inside <head> to refresh page after 5 seconds:
<meta http-equiv="refresh" content="5">
Redirect to http://example.com/ after 5 seconds:
<meta http-equiv="refresh" content="5;URL='http://example.com/'">
Redirect to http://example.com/ immediately:
<meta http-equiv="refresh" content="0;URL='http://example.com/'">

No comments:

Post a Comment