Basic Card Output

As you know by now, the base element of WML is called a deck; the <wml> element embodies a deck. Each deck can contain a <head> or <template> element, or both; however, it must contain at least one <card>. A WML card is analogous to the body of an HTML page; a deck simply allows you to deliver more than one of these in each transaction.

▸ WML includes the <a> and <anchor> tags that not only produce output (the name of a hyperlink), they also receive input (the selection of the hyperlink). These elements were introduced alongside the card element earlier in Chapter 4, "Card Navigation."

Since WML targets very small displays with limited capabilities to display text or graphics, it's quite simple to create text layouts. In ...

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.