Tuesday, September 7, 2010

How to Redirect in html

To redirect in html here is the simple one line meta tag code:

< meta HTTP-EQUIV="REFRESH" content="0;
url=http://sampleexamples.com/" >

Add this code in html < head > tag.
you can specify time interval like:

content="5; url=http://sampleexamples.com/"

Here 5 represents 5 seconds means it will redirect after 5 sec. to sampleexample.com.