WML Tutorial

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


Inserting links

There are two types of hyperlinks that can be used in a WAP page. The first is the conventional type of hyperlink, pointing to a new wml page, either on your site, or a page on someone else's WAP site. The other type of hyperlink points to another card in your wml deck. The tag used is <a href> and you insert a # in front of the name if it is a card, and not a normal wml page address.

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 align="center">
This is a sample text
<br/><br/>
<a href="page2.wml">Click to go to page two</a>
</p>
</card>

</wml>