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.


Using pictures

You can use pictures in a WAP phone, but the images are plain black and white and have to be a special format for the WAP phone. There are some plug-ins available for the two main picture programs, Paint Shop Pro and Photoshop which will allow you to create images in the wbmp format. You can also upload images to your WAPDrive account using or image upload facility, and soon they will be automatically converted into the wbmp format for you.

Just like a normal web page, you should also supply some alternative text, just in case the phone does not display pictures.

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">
<img src="picture.wbmp" alt="a logo should be here"/>
</p>
</card>

</wml>