Scholar Repository
Home>Manual>WML tag

WML tag

From http://www.w3schools.com (Copyright Refsnes Data)

WML <wml> tag


WML Reference Complete WML Reference


The <wml> tag defines a WML deck. This tag contain cards and information about the WML document.

Note: A WML document must contain an XML declaration and a DTD.

Syntax

<wml>
..text..
..tables..
..links..
..tasks..
..other elements..
</wml>

Attributes

Attribute Value Description
xml:lang language_code Sets the language used in the element
class cdata Sets a class name for the element. The class name is case sensitive. An element can be connected to multiple classes. Multiple class names within the class attribute are separated by white space
id id Sets a unique name for the element

Examples

<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>
<card id="no1" title="Card 1"> 
<p>Hello World!</p>
</card>
</wml>



WML Reference Complete WML Reference

From http://www.w3schools.com (Copyright Refsnes Data)

Home>Manual>WML tag