Presentation is loading. Please wait.

Presentation is loading. Please wait.

WAP’s WML by David Boncarosky  WML Inherits From XML  WML Extends Interactivity to Cell Phones, Pagers, PDAs  Display Varies Widely From Device to Device.

Similar presentations


Presentation on theme: "WAP’s WML by David Boncarosky  WML Inherits From XML  WML Extends Interactivity to Cell Phones, Pagers, PDAs  Display Varies Widely From Device to Device."— Presentation transcript:

1 WAP’s WML by David Boncarosky  WML Inherits From XML  WML Extends Interactivity to Cell Phones, Pagers, PDAs  Display Varies Widely From Device to Device  WML tags lack consistency across different manufacturers

2 WML Coding WML Based on a Deck of Cards -- the device only shows 1 card at a time WML Based on a Deck of Cards -- the device only shows 1 card at a time Cards in a Deck can Interact with other Cards in Deck and Cards in External Decks Cards in a Deck can Interact with other Cards in Deck and Cards in External Decks

3 WML Coding All WML documents MUST have a specific header All WML documents MUST have a specific header The Deck is delimited by the... tag The Deck is delimited by the... tag <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"> Hello World!

4 Entering Text Cards are delimited by the... tags Cards are delimited by the... tags All Text within a card must be placed in... tags All Text within a card must be placed in... tags My First WML Card! (a.k.a. Hello World!)

5 WML Anchors (links) Similar to HTML links Similar to HTML links text text Use # to reference a card (e.g. href = “#myCard”). Otherwise, will go to the first card in a deck Use # to reference a card (e.g. href = “#myCard”). Otherwise, will go to the first card in a deck My First link

6 WML sample Site <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml"><wml> </do> </do> </do>

7 WML sample site (cont.) <p> Welcome to CMU Welcome to CMU Find a Person Find a Person School Info School Info My CMU email My CMU email </p>

8 WML Sample Site (cont.) <p> Find Someone at CMU Find Someone at CMU First Name: First Name: Last Name: Last Name: </p><p> Submit Submit </p>

9 WML Sample Site (cont.) <p> Select the School: CFA CFA GSIA GSIA Heinz Heinz HSS HSS MISM MISM </select> Get Info Get Info </p>

10 WML Sample Site (cont.) <p> Login to Check eMail Login to Check eMail User ID: User ID: Pass: Pass: <anchor> Login Login </anchor></p> </wml>


Download ppt "WAP’s WML by David Boncarosky  WML Inherits From XML  WML Extends Interactivity to Cell Phones, Pagers, PDAs  Display Varies Widely From Device to Device."

Similar presentations


Ads by Google