Science Fair Project Encyclopedia
Wireless Markup Language
Wireless Markup Language is the primary content format for devices that implement the WAP (Wireless Application Protocol) specification based on XML, such as mobile phones.
For example, the following WML page could be saved as "example.wml":
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//PHONE.COM//DTD WML 1.1//EN" "http://www.phone.com/dtd/wml11.dtd" >
<wml>
<card id="main">
<p mode="wrap">This is a sample WML page.</p>
</card>
</wml>
WML pages are stored on a web server. They are accessed by a WAP gateway , which sits between mobile devices and the World Wide Web, passing pages from one to the other much like a proxy. This translates pages into a form suitable for mobiles. This process is hidden from the phone, so it may access the page in the same way as a browser accesses html, using a URL (for example http://example.com/foo.wml), if the mobile phone operator has not specifically prevented this.
Mobile devices are moving towards support for greater amounts of XHTML and even standard HTML as processing power in handsets increases. It is likely WML will be phased out in the future.
The PC browser Opera also supports WML.
See also
The contents of this article is licensed from www.wikipedia.org under the GNU Free Documentation License. Click here to see the transparent copy and copyright details


