META tags are a very useful part of web page development. META tags can identify the author, tell the browser when to reload the page, and tell the search engine where to find the page, or not to find the page at all.
A BASE specifies the base URL for the document. All relative links in the document are derived from this base URL.
If your directory has been mapped on the server to a different name, i.e., if http://www.gpc.edu/~pjoseph/ was given an easier directory name of www.gpc.edu/pamjoseph, I would need to specify in the document that all the documents are located in the ~pjoseph directory by putting a BASE tag in the HEAD of the document.
Syntax:
<BASE HREF="baseURL"
TARGET="WindowName">
Here is an example:
<HEAD>
<BASE HREF="http://www.gpc.edu/~pjoseph/">
</HEAD>
<BODY>
More information on META and BASE tags can be found at: http://developer.netscape.com/docs/manuals/htmlguid/tags3.htm
Three important META tags to insert on your page are: Keyword, Description, and Author. The author tag is used internally to have a contact name related to the page for updating, problems, questions, etc.
Netscape Composer users can click on Format, Page Colors, and Properties. Then click the General tab. Title, author, description and keyword attributes can all be added there without having to write the code. Netscape Screen Shot
Below is what the GPC Home page looks like using the <TITLE> and <META> tags:
<HTML>
<HEAD>
<TITLE>Georgia
Perimeter College</TITLE>
<META NAME="KEYWORDS" CONTENT="gpc, georgia perimeter college, georgia perimeter, perimeter college, de
kalb college, dekalb, dekalb College, dekab college, associates degrees, degrees, associate degree atlanta, two year colleges, nurse, nursing, fire,
fireman, interpreter training, dental hygiene, esl, english language, online courses, college online, AAS, AA">
<META NAME="DESCRIPTION"
content="An Associate Degree-Granting College of the University System of Georgia. Five locations in the Metropolitan Atlanta Area.">
<META NAME="AUTHOR" content="Pamela
Joseph,
pjoseph@gpc.edu">
</HEAD>
By the way, don’t think you can spike the keywords by using the same word repeated over and over, as most search engines have refined their spiders to ignore such
spam. Using the META description attribute, you add your own description for your page:
<META NAME="description" CONTENT="This page is about the meaning of life, the universe, mankind and plants.">
Make sure that you use several of your keywords in your description. While you are at it, you may want to include the same description enclosed in comment tags, just for the spiders that do not look at META tags. To do that, just use the regular comment tags, like this:
<!--// This page is about the meaning of life, the universe, mankind and plants. //--!>
The default for the robot attribute is "all". This would allow all of the files to be indexed. "None" would tell the spider not to index any files, and not to follow the hyperlinks on the page to other pages. "Index" indicates that this page may be indexed by the spider, while "follow" would mean that the spider is free to follow the links from this page to other pages. The inverse is also true, thus this META tag:
<META NAME="robots" CONTENT="noindex, nofollow">
would tell the spider not to index this page, and the links would not be followed. For more information about the robot attribute, visit the W3C’s robot paper.
**There is no guarantee that a page will not be indexed by other search engines. Some search engines may come in and index our site based on the title and/or contents of the pages. Don't think that the search engines will not find your site if you haven't actually submitted it. If anybody, anywhere, on any page puts in a link to your site, the web-crawling robots at various search engines can follow it and get to your page.
These two tags can be used as together as shown to keep your content current—but beware. Many users have reported that Microsoft’s Internet Explorer refuses the META tag instructions, and caches the files anyway. So far, nobody has been able to supply a fix to this "bug." As of the release of MSIE 4.01, this problem still existed.
Be sure to remember to place quotation marks around the entire CONTENT attribute’s value, or the page will not reload at all.
Need More Help? Contact Webmaster
Authored by Pam Joseph with excerpts taken from WebDeveloper.com METATags Tutorial by Scott Clark at http://www.webdeveloper.com/html/html_metatags.html