Click here to Skip to main content
15,879,535 members
Articles / Web Development / HTML
Article

Beginning WML

Rate me:
Please Sign up or sign in to vote.
1.00/5 (3 votes)
15 Jul 20011 min read 64.9K   18   3
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:

HTML
<?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):

HTML
<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):

HTML
<br/>

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

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

or

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

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

HTML
<img src="WBMP URL">

To end your WML page use this code:

HTML
</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


Written By
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
raj831-Jun-04 8:14 
Generalwow. Pin
dorkshoe31-Dec-02 8:46
dorkshoe31-Dec-02 8:46 
GeneralRe: wow. Pin
Stephane Rodriguez.31-Dec-02 9:05
Stephane 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.