< Previous | HTML 4.01 Tags / XHTML 1.0 Elements | Next >
Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class
<base /> Description:
Defines the base URI information for relative paths within the document. Also, this element defines the base target for linked frames within the document.
<base /> Web Browser Support:
- AvantGo Palm OS
- AvantGo Windows CE
- Firefox 1, 2
- Internet Explorer 2, 3, 4, 5, 6, 7
- Mozilla 1
- Netscape 2, 3, 4, 6, 7, 8
- Opera 3, 4, 5, 6, 7, 8, 9
- Safari 1, 2
- WebTV / MSNTV
- HTML 3.2, 4.0
- XHTML 1.0: Base Module, Target Module
<base /> Attributes:
All attributes are optional unless indicated.
<base /> End Tag:
None, <base /> is a singleton tag.<base /> Contents:
None.
<base /> Valid Context:
The <base /> tag is valid within the following tags:
head
<base /> Usage:
- 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.
More <base /> Information:
< Previous | HTML 4.01 Tags / XHTML 1.0 Elements | Next >
Free XHTML 1.0 Class | HTML Validators | Free HTML 4.01 Class

