<a>
HTML hypertext link.

HTML hypertext link. This tag can only occur inside XHTML text containers such as <text>.

<canvas height="30">
  <text>A <a href="http://www.openlaszlo.org" target="_blank">link</a></text>
</canvas>

Unlike HTML, the text in the link is not automatically styled. To style the text, use the <u> and font tags:

<canvas height="30">
  <text>
    A <font color="#0000FF"><u><a href="http://www.laszlosystems.com" target="_blank">link</a></u></font>
  </text>
</canvas>

Attributes

Name (CSS property) Type (tag) Type (js) Default Category
href URL     initialize-only
  The link target
target _blank | _parent | _self | _top     initialize-only
  The value of this attribute determines where the link target will be displayed. The interpretation is the same as in HTML, where the "current frame" is the frame containing the LZX application. The value must be a name beginning with an alphabetic character, or one of the following:
_blank
The user agent should load the designated document in a new, unnamed window.
_parent
The user agent should load the document into the full, original window (thus canceling all other frames). This value is equivalent to _self if the current frame has no parent.
_self
The user agent should load the document in the same frame as the element that refers to this target.
_top
The user agent should load the document into the immediate FRAMESET parent of the current frame. This value is equivalent to _self if the current frame has no parent.