How to create a WAP site for mobile phones with WML

March 4th, 2009

Decks and Cards

WAP sites are generally one file that contains many sub-pages within the master WML page. Each page is defined with a special tag called “<card>”. This is why WML pages are known as “decks”, because they contain multiple cards. Each card can contain text, links, input fields, tasks, images, and more. You can provide navigation from card to card with links that work just like HTML anchors (with a # sign to indicate the id of the card.)

Example WAP code

Here is an example WAP site with two cards, each one containing a link to a different type of 3gp mobile video.