Help Center

Local Navigation

HTML element: <link>

Availability

BlackBerry® Device Software 3.7 or later

The <link> element specifies an external reference to another document.

Attributes

Attribute

Value(s)

Description

Availability

charset

charset

This attribute specifies the character encoding used in the referenced document; the value must be the name of a standard character set.

4.6 or later

href

URI

Required. This attribute specifies the target of the link.

Links can be of the following types:

  • web page links: The BlackBerry® Browser supports the http:// and https:// link schemes.
  • phone links: The BlackBerry Browser supports the following phone link schemes:
    • tel: (I-Mode format)
    • wtai: (Wirleess Telephone application Make Call Links)
    • dc: (Direct Connect links on iDEN networks)
    • cti: (Computer Telephone Integration)
  • email links: The BlackBerry Browser supports the following email link schemes:
    • mailto:
    • PIN: (direct BlackBerry to BlackBerry messaging)

3.7 or later

hreflang

language_code

This attribute specifies the base language of the target document.

4.6 or later

rel

link_types

This attribute specifies the relationship between the current page and the referenced document. For example, “stylesheet”.

4.6 or later

rev

link_types

This attribute provides text that describes a link relationship from the referenced target document to the source document. Not displayed to the user.

4.6 or later

target

frame_target

This attribute specifies where the target document will be opened. 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.2 or later

type

MIME_type

This attribute specifies the MIME type of the target document.

4.6 or later

Common attributes

The <link> element supports the class, dir, id, lang, style, and title attributes.

For more information, see Common attributes.

Event attributes

The <link> element supports the onclick, onkeydown, onkeypress, onkeyup, onmousedown, onmousemove, onmouseout, onmouseover, and onmouseup events.

For more information, see HTML event attributes.

Index


Was this information helpful? Send us your comments.