decorative banner

Adding hypertext links


    You can add HTML-style links to a card using the anchor element and <a> element. The anchor element allows you to bind text and images to a go, prev, or refresh task. The <a> element is a short form of the anchor element.

To add a hypertext link:

  1. Drag the Anchor icon or the A icon from the WML Elements set in the Objects palette into the document window. Release the mouse button when the pointer is in the desired location in a paragraph.
  2. Do one of the following:
    • Enter text in the white area of the element. (See Adding text.)
    • Drag an image element into the white area of the element. (See Adding images.)
  3. If you added an <a> element, specify a URL for the link in the href text box.
  4. Set the following optional attributes in the Inspector:
    • title to specify a title for the element.
    • accesskey to specify a key that a user can press to activate the link. The availability of keys depends on the wireless device. For example, phones have 1 through 9 keys and a pound key. Some browsers may ignore this attribute.
    • xml:lang to specify the language of the element or its attributes.
  5. If you added an anchor element, add a go, prev, or element task to it. (See Using tasks.)