dotMobimobiThinkingmobiForgemobiReadyDeviceAtlasgoMobi

Wireless Markup Language (WML)

WML was the core markup language of WAP 1.X. WML is an XML-based markup language that differs significantly from HTML (the markup language used in the Web). The term “deck” first applied to WML sites since each interaction or page is a “card” as shown in the following example:

&lt;?xml version=&quot;1.0&quot;?&gt;<br />&lt;!DOCTYPE wml PUBLIC &quot;-//PHONE.COM//DTD WML 1.1//EN&quot;&quot;http://www.phone.com/dtd/wml11.dtd&quot; &gt;<br />&lt;wml&gt;<br />  &lt;card id=&quot;main&quot; title=&quot;First Card&quot;&gt;<br />    &lt;p mode=&quot;wrap&quot;&gt;This is a sample WML page.&lt;/p&gt;<br />  &lt;/card&gt;<br />&lt;/wml&gt;<br />

With the development of XHTML-MP, WML is now deprecated, but continues to serve as the fall-back markup language for the WAP 2.0 specification. For this reason, mobile service providers often require creating Web sites with WML as a “safe mode” for older mobile browsers. Since WML is widely supported and is fairly consistent about browser rendering, it serves this purpose well. The downside is that WML has more limited design capabilities than XHTML and does not support the richer features of more modern mobile devices.