spacer.png, 0 kB
spacer.png, 0 kB
Home arrow WEB e HTML arrow HTML arrow HTML refresh and redirect
HTML refresh and redirect PDF Print E-mail
 
With the HTML pages meta tag you can redirect a page with a time delay (expressed in seconds).
The same method is used also to refresh a page at regular time periods.
meta tag should be inserted between <head> </head> tags 

The example below redirect the page to our web site with a 2 seconds time delay
<head>
<meta http-equiv="Refresh" content="2;url=http://www.alexdran.net">
</head>
Content attribute set the second delay before the redirect, with a value equal to zero this redirect will be immediate

It is better however to utilize if possible a refresh and redirect Javascript technique.
Last Updated ( marted́, 29 marzo 2011 )
 
Next >
spacer.png, 0 kB
spacer.png, 0 kB
spacer.png, 0 kB