XHTML Mobile Profile Reference

Version 1.0

Openwave Systems Inc. 1400 Seaport Boulevard Redwood City, CA 94063 USA http://www.openwave.com

Part Number XHRF-10-004 October 2001 LEGAL NOTICE Copyright © 1994–2001, Openwave Systems Inc. Portions copyright © 1994–1999, Netscape Communications Corporation. Portions copyright © 1994–1999, Oracle Corporation. All rights reserved. These files are part of the Openwave Software Developer’s Kit (SDK). Subject to the terms and conditions of the SDK License Agreement, Openwave Systems Inc. (“Openwave”) hereby grants you a license to use the SDK software and its related documentation. OPENWAVE MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THE SDK SOFTWARE, INCLUDING, BUT NOT LIMITED TO, ANY IMPLIED WARRANTIES THAT THE SDK SOFTWARE IS FREE OF DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NONINFRINGING. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE LICENSED SOFTWARE IS BORNE BY USER. USER UNDERSTANDS AND ACCEPTS THE SDK SOFTWARE AND ANY SOFTWARE SECURITY FEATURES INCLUDED WITH THE SDK SOFTWARE ARE PROVIDED ON AN “AS IS” BASIS FROM OPENWAVE, AND OPENWAVE DOES NOT WARRANT, GUARANTEE, OR MAKE ANY REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS OF THE USE OF THE SDK SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY, OR OTHERWISE. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL OPENWAVE OR ITS SUPPLIERS OR DISTRIBUTORS BE LIABLE FOR ANY DAMAGES RESULTING FROM OR ARISING OUT OF USER’S USE OF THE SDK SOFTWARE, INCLUDING, WITHOUT LIMITATION, ANY DIRECT, INDIRECT, SPECIAL, INCIDENTIAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND INCLUDING WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL DAMAGES OR LOSSES. IN NO EVENT WILL OPENWAVE BE LIABLE FOR ANY DAMAGES, EVEN IF OPENWAVE IS ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY THIRD PARTY RESULTING FROM THE USE, MODIFICATION, OR DISTRIBUTION OF THE SDK SOFTWARE OR ITS DERIVATIVES. Openwave, the Openwave logo, Phone.com, the Phone.com Logo, and the family of terms carrying the “UP.” prefix are trademarks of Openwave Systems Inc. All other company, brand, and product names are referenced for identification purposes only and may be trademarks that are the sole property of their respective owners. Contents

About This Book vii Openwave SDK vii Audience vii Style and Typographical Conventions viii Code Examples viii Related Documentation viii SDK ix WML ix HDML ix Technical Support and Other Resources ix

1: Introduction 1 XHTML-MP Modules 1 Designing Mobile Services 3 XHTML-MP Markup Rules 3 Style Guide 3 Colors 4 Using Style Sheets 4

Version 1.0 XHTML Mobile Profile Reference iii Contents

2: Elements and Attributes 7 Comments 7 7 8 11 11

12 13 15 16
17 18
18 19 20 21
22 24
25
26
27 27
28
30

to

31 32
32 33 34 35 39 41