Base values. The base element is used to override the current location of the document in order to provide the document a path to it's images and other content. The base element should be place within the head tag.
<BASE HREF="URL" TARGET="Name">
| Attribute | Value | Description |
|---|---|---|
HREF
| URL
| This specifies the base URL to use for relative addresses on the page. |
TARGET |
Name |
The target attribute sets the default target for all links. |
Including a HREF attribute has the side effect of making the document nearly useless once moved to a users local system as the page continues to try to find its resources online until the user either changes or removes the base tag.
The TARGET attribute is a Netscape extension for use with frames. The value refers to the default target window into which the links load. "_top" loads it into the uppermost frameset. "_parent" loads it into the frameset immediately above the one containing the link. "_self" loads it into the frame containing the link, and "_blank" loads it into a new unnamed window. For more on frames see the lessons in Advanced HTML Components.
<HEAD>
<TITLE>My Title</TITLE>
<BASE HREF="http://www.rpi.edu/~hopews/reference/Base_Frame.html" TARGET="MainWin">
</HEAD>