Dave's Brain

Browse - Programming Tips - How can my web page redirect users to another page?

Date: 2015apr7
Language: html

Q.  How can my web page redirect users to another page?

A.  There several ways.  One easy way is to use the refresh meta tag:

<meta http-equiv="refresh" content="5; url=http://example.com"> <b>This page has moved.</b> <!-- Optionally display something -->
This will send the user to http://example.com in 5 seconds.

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.