Click here to Skip to main content
14,299,406 members

Beginning WML

Rate this:
1.00 (3 votes)
Please Sign up or sign in to vote.
1.00 (3 votes)
15 Jul 2001
Learn the basics of WML without any previous knowedge of XML

WML

Tutorial By: webmaster@ltpb.8m.com -(June 30, 2001)

WML is a from of HTML. WML (Wireless Markup languages) is a scripting language that allows you to create web pages for wireless internet devices. To be able to view WML pages on your computer you will need an emulator, you can find one at M3gate.com. To create a WML page you do not need any thing but a text editor such as Notepad or DOS's Edit. To start a WML page you have to define is as a WML page by putting this code at the top:

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

After that you have to create a "card". The device views the information in "cards", because of the limitations that the screen has and that it can only show so much at a time. To create a card you use this tag(note: you can use more than one card in a page):

<card>
</card>

To display text into the card use the paragraph tag (place this inside the card tag):

<p>
	INSERT TEXT HERE
</p>

To make the text go to the next line use the tag (place this inside the card tag):

<br/>

To insert a link use one of two tags (place this inside the card tag):

<go href="URL" /> </anchor>

or

<a href="URL" >  </a>

To display a wireless bitmap image use the tag (place this inside the card tag):

<img src="WBMP URL">

To end your WML page use this code:

</wml>

Tutorial By: Ltpb.8m.com

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

(Steven Hicks)n+1
Web Developer
United States United States
A VC++ programmer for 4 years. He also has experence in Basic, C#, ASP.net, HTML, and javascript. Also the webmaster of 404Browser.com and Ltpb.8m.com. He also likes refering to himself in the third person perspective.

Comments and Discussions

 
GeneralFine Pin
raj831-Jun-04 8:14
memberraj831-Jun-04 8:14 
Generalwow. Pin
dorkshoe31-Dec-02 8:46
memberdorkshoe31-Dec-02 8:46 
GeneralRe: wow. Pin
Stephane Rodriguez.31-Dec-02 9:05
memberStephane Rodriguez.31-Dec-02 9:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Article
Posted 15 Jul 2001

Stats

61K views
18 bookmarked