Tuesday, July 22, 2008

HTML Redirect

If you need to redirect you website to a another website or a new page, place the following code between the head tags in your html page.

<meta equiv="REFRESH" content="0; url=http://www.website.com/main.html">

The above HTML code redirects instantly (content="0;) to main.html. You can change number of content. For example content="10; means will redirect to website or page in 10 seconds.

No comments: