Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Revision as of 02:58, 1 August 2012 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


From Wiki
Jump to: navigation, search
Article Metadata
Created: senthilkumar05 (22 Nov 2007)
Last edited: hamishwillee (01 Aug 2012)

XHTML MP Overview

XHTML MP (eXtensible HyperText Markup Language Mobile Profile) is the markup language defined in WAP 2.0. WAP 2.0 is the most recent mobile services specification created by the WAP Forum (now the Open Mobile Alliance [OMA]). Advantages:The greatest advantage brought by XHTML MP is that developers can now use the same technologies for the development of both web sites and WAP sites. Syntax: Tags must be closed properly

Tags and attributes must be in lowercase

Value of attributes must be enclosed within quotation marks

No attribute minimization is allowed

Tags must be nested properly

MIME Types The following three MIME types can be used for XHTML MP documents:




XHTML MP Document Structure

<?xml version="1.0"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "">

<html xmlns="">

   <title>XHTML MP Tutorial</title>

Hello world. Welcome to our XHTML MP tutorial.




CSS describes how documents are presented on the screen in the browser.

WAP CSS is a subset of CSS appropriate for small devices defined by the OMA; it omits features that are not appropriate for very small devices and adds some WAP-specific Using CSS, a document author can specify the presentation of an entire Web application in one place: the style sheet.

CSS separates the content of the document or application from the presentation. This enables you to easily create browser-specific versions of the same content simply by creating the appropriate style sheet.

Sample.css li{ list- style - type:disc; margin - bottom:4px; margin- left:2px;}

This page was last modified on 1 August 2012, at 02:58.
32 page views in the last 30 days.