Change Language


Follow Navioo On Twitter

base

Specifies a base URL for all of the relative URLs in the document to use.

Browser/User Agent Support

IE Netscape Mozilla Opera Safari
2.0+ 1.0+ 1.0+ 4.0+ 1.0+

Example

This example defines the base URL in this document to be "http:www.Navioo.com/docs/", all opening in a new, blank window:

<base href="http://www.Navioo.com/docs" target="_blank" /> 

Remarks

Use the <base /> tag when you want to define a base URL for the relative URLs in a document. Remember to self-close your <base / > tags.

Attribute Detail

Attribute IE Netscape Mozilla Opera Safari
href
[url]
Path or URL for the linked document or object.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
id
[element-id]
Unique identifier for the element.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 
target
Example values: "mycat.php" (url), "_blank", "_self", etc.
Target window to use for opening the linked document.
2.0+ 1.0+ 1.0+ 4.0+ 1.0+
 

Event Detail

Event IE Netscape Mozilla Opera Safari
Fires when Print or Print Preview finishes laying out the content in a LayoutRect with the source data.
4.0+ no no no no
 
Fires when the mouse pointer enters the element.
4.0+ no no no no
 
Fires when the mouse pointer leaves the element.
4.0+ no no no no
 
Fires when the ready state of the element changes.
4.0+ no no no no
 

Examples -> Source code Demo online - > base:

Ajax Javascript feed

↑ Grab this Headline Animator