Click here to Skip to main content
Licence 
First Posted 15 Jul 2001
Views 50,911
Bookmarked 18 times

Beginning WML

By | 15 Jul 2001 | Article
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

About the Author

(Steven Hicks)n+1

Web Developer

United States United States

Member

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.

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
GeneralFine Pinmemberraj838:14 1 Jun '04  
Generalwow. Pinmemberdorkshoe8:46 31 Dec '02  
GeneralRe: wow. Pinmember.S.Rod.9:05 31 Dec '02  

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

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

Permalink | Advertise | Privacy | Mobile
Web02 | 2.5.120517.1 | Last Updated 16 Jul 2001
Article Copyright 2001 by (Steven Hicks)n+1
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid