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
XHTML MP (XHTML Mobile Profile) Introduction
What is XHTML MP?
Development of Wireless Markup Languages
HTML
WML 1.x
XHTML
XHTML Basic
XHTML Mobile Profile
WCSS / WAP CSS
WML 2.0
Advantages of XHTML MP
WML Features Lost in XHTML MP
XHTML MP Does Not Support Decks and Cards
XHTML MP Does Not Support Timers
XHTML MP Does Not Support Events
XHTML MP Does Not Support Variables
XHTML MP Does Not Support Client-side Scripting
XHTML MP Does Not Support Programmable Softkeys
XHTML MP Does Not Support the <u> Tag
XHTML MP Does Not Support the Format Attribute for Input Fields
XHTML MP Does Not Support Posting of Data with Anchor Links
Syntax Rules of XHTML MP
XHTML MP Syntax Rule 1: Tags Must Be Closed Properly
XHTML MP Syntax Rule 2: Tags and Attributes Must Be in Lowercase
XHTML MP Syntax Rule 3: Value of Attributes Must Be Enclosed within Quotation Marks
XHTML MP Syntax Rule 4: No Attribute Minimization is Allowed
XHTML MP Syntax Rule 5: Tags Must Be Nested Properly
XHTML MP MIME Types and File Extension
MIME Types
Choosing MIME Types Dynamically
File Extension
XHTML MP Document Structure
Hello World XHTML MP Example
XML Declaration and Character Encoding
DOCTYPE Declaration
<html> Element
<head> Element
<title> Element
<body> Element
<p> Element
XHTML MP Generic Metadata
XHTML MP Cache Control
Periodic Refresh in XHTML MP
Comments in XHTML MP
Line Breaking in XHTML MP
XHTML MP Horizontal Rules
XHTML MP Headings
Font Style in XHTML MP
XHTML MP Preformatted Text
XHTML MP Lists
XHTML MP Images
Displaying an Image in XHTML MP
Issues Concerning Large Images in XHTML MP
XHTML MP Tables
Anchor Links in XHTML MP
Going to a Location in the Current XHTML MP Page
Going to Another XHTML MP Page
Using a Short URL for the WAP Home Page
XHTML MP Image Links
Setting a Shortcut Key for an Anchor Link in XHTML MP
XHTML MP Selection Lists
Selecting Multiple Options
Organizing Options in XHTML MP Selection Lists
XHTML MP Input Elements
Text Fields in XHTML MP
Password Fields in XHTML MP
Checkboxes in XHTML MP
Radio Buttons in XHTML MP
Hidden Fields in XHTML MP
Submitting Form Data to the Server in XHTML MP
XHTML MP Form Element
Submit Buttons in XHTML MP
Reset Buttons in XHTML MP
At the Server-side
|