Saturday, February 9, 2013

Automatic Refresh the Web Page

You need your web page automatic Refresh in 5 second or any second, use this meta tag. it’s a simple code, put it between HEAD tag in your page.
This script easy but powerful. Many websites use this scripts to redirect to another page or refresh the same page, for example, my website updates in every 5 minutes and I want to show user my latest content then I put this script to my page and set it refreshs in every 5 minutes.

Example :

<HEAD>
<meta http-equiv=’refresh’ content=’2;url=’file_name or URL’>
</HEAD>
// content = time (second)
// file_name = name of file you want to refresh or redirect
 

No comments:

Post a Comment

Thanks....