Tags Used in Navigation: <a>, <anchor>, and <go>

Now that we've covered the basics of navigation, we're going to explore some of the differences between the <a> tag, from the previous examples, and the <anchor> tag. The <anchor> tag is an extended version of the <a> tag, which provides additional functionality and additional complexity.

Both tags can be used with the <go> task—a processing instruction that tells the application to navigate to a URL. We will introduce the <go> tag here and its role in directing navigation as part of your application's processing instructions.

The <a> Element

Like in HTML, WML includes links to other code elements with anchors. The <a> element is an abbreviated form of the <anchor> element that only provides for ...

Get WAP Development with WML and WMLScript 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.