WML Tutorial

Subjects
1. The xml header tag
2. Using cards (and what are they).
3. Page Layout
4. Accepting user input
5. Inserting hyperlinks.
6. Changing your text appearance.
7. Using pictures.
8. List all the tags.


The xml header tag

When you write a page in the wml language, you are actually using a "sub-set" of the new XML web language, which has been specifically designed for mobile phones. In order to comply with some of the XML rules, all WAP pages must (and that means MUST) start with a couple of lines of XML code, shown in blue below. Typically, you would also use cards to layout your page, so the example below is a good example of a blank template, waiting for you to insert your text.

An example follows...

<?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="MainCard" title="This is a first card">
<p>
<!-- your text goes here-->
</p>
</card>

</wml>


1