|
WML (Wireless Markup Language) is an XML language used to specify content and user interface for WAP devices such as smartphones. WML documents are XML documents that validate against the WML (currently version 2.0) DTD (Document Type Definition). You can use the W3C Markup Validation service to validate WML documents. 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" title="First Card">
<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 handheld devices.
Open Mobile Alliance WAP Forum W3 Schools WAP/WML Tutorial WML Specifications WAP in HKUST DevGuru WML |