Document Head Tags
Title Tag: < TITLE > < /TITLE >
Example: < TITLE >My Home Page< /TITLE >
This tag allows you to describe what information will be shown in the title bar of a
browser. If you do not want to add a title to your page, you must still put the beginning
and ending tag there.
BASE Tag: < BASE >
The BASE tag does not require an ending tag.
Example: < BASE HREF="baseurl" >
This tag directs all links on the page to the Base Url you specified. For instance, if you
did this:
< BASE HREF="http://www.geocities.com/your address/ >, then all the document
links on the page could be specified without the full address, i.e.,
"http://www.geocities.your address/doc.html". If you specified this as your base
url (without the doc.html) then you could make your link with just the doc.html in the
body section.
META Tag:< META >
There are several META attributes you can use. META information is not produced on your
actual viewing page. This information is for other things, like search engines.
NAME The name attribute has attributes also. Description, Keywords, and Author are the
three attributes associated with the NAME attribute.
Example: < META NAME="AUTHOR" CONTENT="Vikki Dawson" >
Example: < META NAME="Keywords" CONTENT="Basic HTML Help, Tables, Forms,
Frames, Tags" >
Example: < META NAME="Description" CONTENT="HTML Reference Guide"
>
You can use one, or all of these in the head section of your document.
HTTP-EQUIV This tag allows you to put an expiration date, and or a refresh, in the head
section of your document.
Example: < META HTTP-EQUIV="expires" CONTENT="date you specify"
>
In other words you specify a date for the expiration of the information in your document.
Example: < META HTTP-EQUIV="refresh" CONTENT="5;URL=http://******"
>This a is pretty neat attribute. You can specify how many seconds before the browser
reloads this page or goes
to another page.
STYLE Tag: < STYLE > < /STYLE >
|