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 10:20, 31 July 2012 by hamishwillee (Talk | contribs)

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


From Wiki
Jump to: navigation, search
Article Metadata
Created: firt (14 Apr 2007)
Last edited: hamishwillee (31 Jul 2012)

Wireless Markup Language (WML) is an XML document prepared to format a webpage in a mobile browser. It was designed in the standard WAP 1.0 and was deprecated by XHTML MP. Many new devices/phones supports this language right now too.

The information is distributed in decks (a WML file) composed by cards (a visual webpage). Inside one deck, you can include many cards and you can link each other reducing server traffic.

It also supports images (in WBMP format), tables, forms and an script language, called WMLScript. It doesn't support color screens nor many advanced design features. XHTML MP (Mobile Profile) solves this problem using CSS.

You can test WML pages with many Nokia emulators and SDKs.

This is a sample of WML file:

 <?xml version="1.0"?>
"" >
<card id="main" title="First Card">
<p mode="wrap">This is our first mobile webpage
<a href="#card2">Next</a></p>
<card id="card2" title="Second Card">
<p mode="wrap">This is our second card</p>
This page was last modified on 31 July 2012, at 10:20.
79 page views in the last 30 days.