wap wml xml wbmppicture of phone WAPtutor

13 Requirements

Each wml document deck requires a minimum amount of code before the browser can interpret and display the content. The top of the document requires the wml DTD or Document Type Definition. The DTD contains information for the browser, describing the conventions used within this wml document. Just copy and paste the following code in place:

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

Don't worry about its meaning, just note it conforms to xml version 1, and wml version 1.1, and may need updating some time in the future if and when new versions are released. The DTD also contains within it a link to the DTD source in case the browser has no access to a local copy.

All of the document following the DTD nests within an outer pair of <wml> tags. The deck needs at least one card, and each card needs at least one paragraph.

<?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="card_name" title="Its Title">
<p>
Smallest possible deck!
</p>
</card>
</wml>

< BACK   NEXT  >

Order Your Kaspersky Anti-Virus GOLD Now!

 
Introduction

1 Preparation
2 Markup Language
3 Addresses
4 Cards and Decks
5 Tags
6 Formatting
7 Attributes
8 Nesting
9 Space
10 Links
11 Images
12 Symbols
13 Requirements
14 Tables
15 Templates
16 Sample
17 Hints
18 Publishing
19 Promotion

WAPlinks
Glossary

Type in WAP
site address


 

FREE Nokia 3330 with FREE Mobile Internet

Web design by www.littledetails.co.uk