HTML Code For Redirecting

Simple Redirect

Good if you just changed URL


<head>
<meta http-equiv="refresh" content="0; url=/redirectPage.html">
</head>

Outcome:
Redirects straight away to the assigned URL

Redirect with delay


<head>
<meta http-equiv="refresh" content="10; url=/redirectPage.html">
</head>

Outcome:
Redirects after 10 seconds to the assigned URL


Back to the html reference and tutorials page.