BASE HTML Element

Send Feedback

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.

Note   Windows Mobile-based Smartphones do not support frames.

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 Internet Explorer Mobile 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 Internet Explorer Mobile to navigate the topmost document to the HREF.
Note   Not supported for Windows Mobile-based Smartphones.

Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later

See Also

Internet Explorer Mobile HTML Elements

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.