Because the WML2 specification is based on XML, a Document Type Definition (DTD) is defined for WML2 documents. The DTD is available at the WAP Forum Web site, and any WML2 document should conform to this definition.
The full version of the WML2 DTD containing definitions of all the modules is located at the following URL:
For those interested in the previous version, WML 1.3, a DTD is available here:
The WML2 specification is based on the XHTML Basic 1.0 and Modularization of XHTML W3C Recommendations, and it defines additional WAP-specific extensions and WML1 compatible tags.
Depending on their meaning, the WML tags are ...