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.
Note   Not supported for Windows Mobile-based Smartphones.
TARGET _parent Causes the immediate parent of the frame to navigate to the HREF.
Note   Not supported for Windows Mobile-based Smartphones.
TARGET _top Causes Pocket Internet Explorer to navigate the topmost document to the HREF.
Note   Not supported for Windows Mobile-based Smartphones.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.