Welcome to Developers' Home Friday, May 9, 2008
Home - DevelopersHome.com
Home Preferences
Mobile Internet Browsing (WAP) WAP Server Setup Tutorial Quick Links: Introduction How to Publish WAP 1.x / WAP 2.0 Content WAP 1.x / WAP 2.0 MIME Types and File Extensions Setting up MIME Types on WAP Servers Setting MIME Types with a htaccess File Setting MIME Types with Server-side Technologies Setting up Default Documents
WML Tutorial Quick Links: WML Introduction WML Deck and Card Font Size and Style WML Images WML Tables WML Anchor Links Programming Softkeys of Mobile Phones WML Template and Menu WML Events WML Selection Lists WML Input Fields WML Variables Submit Form Data Clear Saved Forms
WMLScript Tutorial Quick Links: WMLScript Introduction Compiling WMLScript Code WMLScript Language Rules Defining Functions Calling Functions WMLScript Variables WMLScript Variables Vs WML Variables Passing Arguments By Value and By Reference WMLScript Operators WMLScript Conditional WMLScript Looping WMLScript Standard Libraries WMLScript Arrays Validate Form Data
WMLScript Standard Libraries Reference Quick Links: WMLBrowser Library Dialogs Library String Library Float Library Lang Library URL Library
XHTML MP Tutorial Quick Links: XHTML MP Introduction Development of Wireless Markup Languages Advantages of XHTML MP WML Features Lost in XHTML MP Syntax Rules of XHTML MP XHTML MP MIME Types and File Extension XHTML MP Document Structure XHTML MP Generic Metadata XHTML MP Images XHTML MP Anchor Links XHTML MP Selection Lists XHTML MP Input Elements Submit Form Data
WAP CSS / WCSS Tutorial Quick Links: WCSS Introduction Syntax Rules of WCSS How to Apply Cascading Style Sheets to Documents WCSS Selectors Div and Span Elements Cascading Rules WCSS Font/Text Properties WCSS List Properties WCSS Color Properties WCSS Border Properties WCSS Access Key Extension WCSS Input Extension WCSS Marquee Extension Matching Style Sheets to Different User Agents
Detect User Agent Types and Device Capabilities Quick Links: Introduction The Accept Header The User-Agent Header The Accept-Charset Header The Accept-Language Header The x-wap-profile and Profile Headers How to Read the Value of an HTTP Header How to Use UAProf (User Agent Profile)
UAProf / User Agent Profile Reference Quick Links: HardwarePlatform Component SoftwarePlatform Component NetworkCharacteristics Component BrowserUA Component WapCharacteristics Component PushCharacteristics Component MmsCharacteristics Component
Upload Files From WAP Cell Phones Quick Links: How to Upload Files from WAP Cell Phones XHTML MP Example Handling File Uploads with PHP Handling File Uploads with JSP / Java Servlet Security Considerations of File Upload
Mobile Messaging SMS Tutorial Quick Links: Introduction to SMS What Makes SMS Messaging So Successful Example SMS Applications SMS Center / SMSC Basic Concepts of SMS Intra-operator SMS Inter-operator SMS International SMS SMS Gateway How to Send SMS Messages from Computers How to Receive SMS Messages with Computers Introduction to GSM / GPRS Wireless Modems How to Use HyperTerminal Introduction to AT Commands General Syntax of Extended AT Commands Result Codes of AT Commands AT Command Operations: Test, Set, Read, Execution Checking if the Use of AT Commands to Send, Receive and Read SMS Messages is Supported Operating Mode: SMS Text Mode and SMS PDU Mode Setting/Reading the SMSC Address (AT+CSCA) Preferred Message Storage (AT+CPMS) Writing SMS Messages to Message Storage (AT+CMGW) Deleting SMS Messages from Message Storage (AT+CMGD) Sending SMS Messages from a Computer / PC (AT+CMGS, AT+CMSS) Reading SMS Messages from Message Storage (AT+CMGR, AT+CMGL) How to Choose an SMS Gateway Provider Comparison Table of SMS Gateway Providers Free SMS Software/Tools and Libraries GSM 7-bit Default Alphabet Table (with ISO 8859-1) SMS on Windows PC (Non-Developers) SMS on Linux PC (Non-Developers)

XHTML Mobile Profile / XHTML MP Tutorial



Preferences - Do not show ads

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



Google