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.

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.