XHTML Mobile Profile / XHTML MP Tutorial

XHTML MP (XHTML Mobile Profile) is the markup language of WAP 2.0. XHTML MP is a subset of XHTML, which is the combination of HTML and XML. Our XHTML MP tutorial starts with an introduction of XHTML MP and an overview of the relationship between various markup languages such as WML, XHTML, XHTML Basic and XHTML MP. Then it covers the major differences between WML and XHTML MP, XHTML MP's syntax rules and document structure, etc. In addition, our XHTML MP tutorial includes coverage about lists, tables, anchor links, selection lists, input elements and the posting of data from mobile devices to the server.


Table of Contents

1. XHTML MP (XHTML Mobile Profile) Introduction

1.1. What is XHTML MP?

2. Development of Wireless Markup Languages

2.1. HTML

2.2. WML 1.x

2.3. XHTML

2.4. XHTML Basic

2.5. XHTML Mobile Profile

2.6. WCSS / WAP CSS

2.7. WML 2.0

3. Advantages of XHTML MP

4. WML Features Lost in XHTML MP

4.1. XHTML MP Does Not Support Decks and Cards

4.2. XHTML MP Does Not Support Timers

4.3. XHTML MP Does Not Support Events

4.4. XHTML MP Does Not Support Variables

4.5. XHTML MP Does Not Support Client-side Scripting

4.6. XHTML MP Does Not Support Programmable Softkeys

4.7. XHTML MP Does Not Support the <u> Tag

4.8. XHTML MP Does Not Support the Format Attribute for Input Fields

4.9. XHTML MP Does Not Support Posting of Data with Anchor Links

5. Syntax Rules of XHTML MP

5.1. XHTML MP Syntax Rule 1: Tags Must Be Closed Properly

5.2. XHTML MP Syntax Rule 2: Tags and Attributes Must Be in Lowercase

5.3. XHTML MP Syntax Rule 3: Value of Attributes Must Be Enclosed within Quotation Marks

5.4. XHTML MP Syntax Rule 4: No Attribute Minimization is Allowed

5.5. XHTML MP Syntax Rule 5: Tags Must Be Nested Properly

6. XHTML MP MIME Types and File Extension

6.1. MIME Types

6.1.1. Choosing MIME Types Dynamically

6.2. File Extension

7. XHTML MP Document Structure

7.1. Hello World XHTML MP Example

7.2. XML Declaration and Character Encoding

7.3. DOCTYPE Declaration

7.4. <html> Element

7.5. <head> Element

7.6. <title> Element

7.7. <body> Element

7.8. <p> Element

8. XHTML MP Generic Metadata

8.1. XHTML MP Cache Control

8.2. Periodic Refresh in XHTML MP

9. Comments in XHTML MP

10. Line Breaking in XHTML MP

11. XHTML MP Horizontal Rules

12. XHTML MP Headings

13. Font Style in XHTML MP

14. XHTML MP Preformatted Text

15. XHTML MP Lists

16. XHTML MP Images

16.1. Displaying an Image in XHTML MP

16.2. Issues Concerning Large Images in XHTML MP

17. XHTML MP Tables

18. Anchor Links in XHTML MP

18.1. Going to a Location in the Current XHTML MP Page

18.2. Going to Another XHTML MP Page

18.3. Using a Short URL for the WAP Home Page

18.4. XHTML MP Image Links

18.5. Setting a Shortcut Key for an Anchor Link in XHTML MP

19. XHTML MP Selection Lists

19.1. Selecting Multiple Options

19.2. Organizing Options in XHTML MP Selection Lists

20. XHTML MP Input Elements

20.1. Text Fields in XHTML MP

20.2. Password Fields in XHTML MP

20.3. Checkboxes in XHTML MP

20.4. Radio Buttons in XHTML MP

20.5. Hidden Fields in XHTML MP

21. Submitting Form Data to the Server in XHTML MP

21.1. XHTML MP Form Element

21.2. Submit Buttons in XHTML MP

21.3. Reset Buttons in XHTML MP

21.4 At the Server-side



A button for going back to the top of this page