Chapter 6. WML Decks, Templates, and Cards

Now that you’ve seen some of the interesting things you can put into a deck, it’s time to revisit those very first WML elements we saw back in Example 1.1. You can see them in more detail in the light of what you now know about WML; particularly events (Chapter 3) and the <do> element (Chapter 4).

The <wml> Element

The <wml> element serves a purpose much like the <HTML> element does for HTML pages: it encloses the entirety of the deck. Effectively, a WML deck consists of a single <wml> element. It doesn’t take any attributes.

Get Learning 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.