<BASE>
The <BASE> Tag is used to tell your HTML where it's
"home base" is, and should be between the
<HEAD> Tags. For
example, if you have many links to the same host or directory
other than the host or directory your page is currently, you'll save time
by using a <BASE> Tag. It is used with the HREF
command also.
For this example, assume that the current URL is
http://www.quadzilla.com/fwilinks.htm

<head>
<title>D.J. Quad's Ultimate HTML Site - FWI Links</title>
<base href="http://www.fwi.com">
</head>
[...]
<a href="link1.htm">Link 1</a>
<a href="link2.htm">Link 2</a>
Even though you are at http://www.quadzilla.com/fwilinks.htm
your HTML assumes that any link specified in the <BASE>
Tag would use the link relative to http://www.fwi.com. If you were to click
on Link 1, it would go to http://www.fwi.com/link1.htm even though you are
currently at http://www.quadzilla.com/fwilinks.htm and only specified
link1.htm for your link.
It can also be used with targeted frames, for the same
result, but this time it's used with the TARGET command.

<head>
<title>D.J. Quad's Ultimate HTML Site - FWI Links</title>
<base target="_top">
</head>
[...]
<a href="link1.htm">Link 1</a>
<a href="link2.htm">Link 2</a>
This example says that all the links in your HTML would load
in a new window target, or "_top" which would break out of your
frameset.
|