arrowHome arrow WML arrow Creating a WML Page
Main Menu
Home
SMS
WML
MMS
Links
Contact Us
Search
FAQ's
Bluetooth
Other Sites
WAP Gateway
GSM
UMTS
CDMA
Telecom Forums
WAP Download & Upload
My Blog
VoIP
Telecom Terms
IP Classes
Linux etc issue
Linux Man Pages
Tech FAQs
Creating a WML Page Print E-mail

Creating a WML Page

Following is a Sample WML Page

 
<?xml version="1.0"?>

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

<p> Welcome to Wapopia.com <p>
</card>
</wml>



First two lines of code are XML declarations. These specify document version and type and are to be included in all WML files
The entire WML page is enclosed within <wml> and </wml> tags.

This is required for every WML page you create, similar to the <html> and </html> tags required for HTML pages All the other tags and content appear in between these WML tags. The card is denoted by <card> tag and all the card content must be placed between these <card> and  </card> tags.

The <p> tag defines a paragraph (like the <p> tag in HTML) however you cannot place any text directly in a WML Card so a <p> tag is must.

Do remember that unlike HTML, WML is very strict and all tags require end tags, omitting an end tag will result in the generation of an error

< Prev   Next >
Polls
Who's Online
We have 4 guests online