Tasks

Anchors and events are always associated with some sort of task (such as “got to another link,” “refresh the screen,” and so on). WML contains a number of task elements you can use in conjunction with your anchors or events.

The GO Element (Chapter 5)

The GO element specifies forward navigation to a URL. This element is the most widely used task element.

Syntax

The following code snippet presents the syntax of the GO element:

<go attribute> 
  content 
</go> 
Attributes

Table A.10 presents the attributes of the GO element.

Table A.10. GO Element Attributes
Attribute Required Description
href Yes Specifies the URL to open.
send referer No Specifies whether the device should send the deck URL in the URL request. Values can be true or ...

Get WAP 2.0 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.