Help Center

Local Navigation

HTML reference: <base>

Availability

Partial support as of BlackBerry® Device Software version 4.0.

Full support as of BlackBerry Device Software version 4.6.

The <base> element specifies an absolute URI that acts as the base URI for resolving relative URIs.

Differences between HTML, XHTML, and XHTML-MP

In HTML, the <base> element is not closed. To conform to XHTML or XHTML-MP, you must properly close the <base> element.

Attributes

Attribute

Value(s)

Description

Supported in

href

URI

Required. This attribute specifies an absolute URI that acts as the base URI for resolving relative URIs.

4.0 or later

target

frame_target

This attribute specifies where the target documents of all links will be opened. This attribute can be overridden by defining the target attribute for each <a> or <link> element. The value can be the id attribute of the target frame, or can have one of the following special values:

  • _blank: Default. The document opens in a new window.
  • _self: The document opens in the current frame.
  • _parent: The document opens in the parent frameset.
  • _top: The document opens in the full window.

4.6 or later

Index


Was this information helpful? Send us your comments.