link to hitmill.com home page



Meta Tag Tutorial #1
How to Redirect a User to Another Web Page


A META tag tutorial: how to redirect a user to another Web page using meta information in the head section of the HTML document.

Now that you are a new Web page author you will have to understand what META tags are and how they are used. This page is the beginning step-off point for learning about META tags and resources for a few of the META tutorials currently available on the Web.

How do you redirect a user to another Web page? Read on...  The Meta information you will insert between the two Head tags of the old page like this:

<META HTTP-EQUIV="Refresh" CONTENT="4; URL=http://www.new page location.extension">

For example,

<META HTTP-EQUIV="Refresh" CONTENT="5; URL=http://www.hitmill.com/html/promote/front.htm">

The number 4 or 5 represents the number of seconds until the redirection occurs. Give your readers a chance to read a short message telling them that they will be redirected to another page. DO NOT place any quotes in front of the http:// in the address or the redirection will not work. After CONTENT = , all of the rest of the code has to be enclosed in only one set of parentheses. Useful information like this will be found in each of the META tutorials, many of which are located at other Web sites.

How to Use Meta Tags (SearchEngineWatch.Com)
Meta Tag Tutorial (Christopher Orth.)
How To Use Meta Tags in Your Web Site (LearnThat.Com)
META Tag Guide (Submit Corner)
Meta Tags (Forks-Web.Com
Meta Tags (InfoDial)
Meta Tags (YourSite.Com)
Back To Basics: Meta Tags (WebDeveloper.Com)
META Tutorial at HTML Guide (DrClue.Com)



Updated 26 February 2006
© hitmill.com
All Rights Reserved