Part I Example

As a final exercise to show just how far you’ve come, the following code incorporates all the information you’ve accumulated up to this point in the book. Type this code, and save it as home.wml. This file contains several cards, which you’ll expand on in the coming chapters. Save this file within your C:\My Documents directory.

If you have any questions about any portion of this code, refer to the chapters in Part I. Figure I.1 shows how this file looks on a device screen:

Figure I.1. The home.wml file on a device emulator.

 <?xml version="1.0"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> ...

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.