Quackit Logo
HTML
CSS
Scripting
Database
Hosting
Design
XML

HTML Redirect

You may occasionally find yourself in the position where you have to create an "HTML redirect". This is a client-side redirection and tells the browser to request another page.

To create an HTML redirect page, you use the HTML meta tag, along with the 'http-equiv' and 'content' attributes.

Redirect code

To create an HTML redirect, place the following code between the document's head tags.

Code

In the above example, the page will redirect to the specified page in 5 seconds (as indicated in the 'content' attribute).

You can also use JavaScript to redirect to another web page. See JavaScript Redirect.

Enjoy this page?

  1. Link to this page (copy/paste into your own website or blog):
  2. Link to Quackit using one of these banner ads.

Thanks for supporting Quackit!

Sponsored Link: Design CODE-FREE Websites