Home | E-mail
HTML Basics - Part 10 of 12 by Matthew Bacon
META `<META>` tags, like `<BGSOUND>`, appear within the head section of your web page. `<META>` tags are used to provide internet search engines with the necessary details of your page. For instance, you can include keywords which can then be used by the sophisticated search engines to find your page. You do not have to include any `<META>` tags within a page, but it is good practice to do so! The attributes of the `<META>` tag are: `NAME=""` `CONTENT=""` `HTTP-EQUIV=""` For example,
    <HTML>
       <HEAD>
       <TITLE>Welcome to my web page</TITLE>
       <META NAME="GENERATOR" CONTENT="MyAtari magazine">
       <META HTTP-EQUIV="Content-Type"
       CONTENT="text/html; charset=iso-8859-1">
       <META NAME="AUTHOR" CONTENT="Matthew Bacon">
       <META NAME="DESCRIPTION" CONTENT="Atari Web site">
       <META NAME="KEYWORDS" CONTENT="Atari, ST">
       </HEAD>
       <BODY>
            Welcome to my web page?
       </BODY>
       <ADDRESS>
            This page was written by Matthew Bacon
       </ADDRESS>
    </HTML>
This should hopefully give you a good idea of what to include within your `<META>` tags. A great little trick I learnt to do with a `<META>` tag was to force the page to update or change. Copy the HTML code below and substitute the file name and path of URL="" to one of your pages and wait!
    <HTML>
       <HEAD>
       <TITLE>Welcome to my web page</TITLE>
       <META HTTP-EQUIV="REFRESH" CONTENT="5"
       URL="http://www.myatari.net">
       </HEAD>
       <BODY>
       Wait for it... I am going to change in 5 seconds!
       </BODY>
       <ADDRESS>
       This page was written by Matthew Bacon
       </ADDRESS>
    </HTML>
Previous | Next
MyAtari magazine - Tutorial #10, April 2001 | Contents Features Reviews Tutorials Regulars Adverts
[ Top of page ]
Copyright © 2001 MyAtari