base Description:
The base tag defines the base URI information for relative paths within the document. Also, this tag can define the base target for links within the document.
base Web Browser Support:
- AvantGo Palm OS
- AvantGo Windows CE
- Chrome 1, 2, 3, 4, 5, 6, 7, 8, 9
- Firefox 1, 2, 3
- Internet Explorer 2, 3, 4, 5, 6, 7, 8
- Netscape 2, 3, 4, 6, 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9, 10, 11
- Safari 1, 2, 3, 4, 5
- WebTV/MSN TV
HTML Versions
base Attributes:
Global attributes and:
base End Tag:
None, the base tag is a singleton tag.
base Contents:
The base tag is a void element and has no contents.
base Valid Context:
The base tag is valid within the following tag:
head
base Examples:
A base URL for a page
<base href="http://webdesign.about.com/" />
All images, anchors, and multimedia are located on http://webdesign.about.com/
A base target for a page
<base href="/" target="_top" />
All anchors will open in the top window of the frameset.
base Special Notes:
- Setting a base href allows you to store the HTML for your pages for your Web page where ever you need them and the images and links will continue to work.
- The base target allows you to set a standard target for all your links.

