Share via


BASE HTML Element

The BASE element specifies an explicit URL used to resolve links and references to external sources such as links and images. This element does not require a closing tag.

Attributes

Attribute Value Description
HREF URL Sets the relative baseline URL for links and references.

Example

<html>
 <head>
  <base href="https://pocketpc.com/browserweb/">
 </head>
 <body>
  <img src="images/screen.gif">
   <ahref="FULL/graphs/latest.htm">
    Click here to see the latest graph.</a>
 </body>
</html>

The SRC resolves to https://pocketpc.com/browserweb/ images/screen.gif and the HREF resolves to https://pocketpc.com/browserweb/FULL/graphs/latest.htm.

TARGET _blank Causes Pocket Internet Explorer to navigate the topmost document to the HREF.
TARGET _parent Causes the immediate parent of the frame to navigate to the HREF.
TARGET _top Causes Pocket Internet Explorer to navigate the topmost document to the HREF.

Requirements

Pocket PC: Windows Mobile 2000 and later
OS Versions: Windows CE 3.0 and later

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.