Sponsered Links
Categories
Sponsered Links

Introduction to WML

 

Pre Knowledge Required

  • HTML

About WML

WML stands for Wireless Markup Language, it is the first markup language standard for wireless devices and similar to HTML in that tags are used to create pages. It supported to all the major mobile phone manufacturers. Newer specifications of WML support XHTML tags, as well as the use of TABLE and FORM tags, although it’s not advocated to use them since they increase file size, thus defeating the purpose of creating lightweight pages. WML is a 'markup' language, means it can be written and saved as text files, using 'tags' like those found in HTML. Who's familiar with HTML should learn WML easily.

WML is a mark-up language, which is based on XML and it is inherited from HTML. WML is used to create web pages, which is displayed in a WAP (Wireless Application Protocol) browser. Web Pages in WML are called DECKS. This Decks are built as a set of CARDS. WML tags just like the HTML, but the syntax is based on XML standards. WML pages have the extension .wml.

Syntax

<?xml version="1.0"?>

<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"

"http://www.wapforum.org/DTD/wml_1.1.xml">

<wml>

</wml>


WML Script

WMLScript is the scripting language which is used in WML web pages, it is a light version of the JavaScript language. We can not embedded WML scripts in the WML pages. WML pages holds only addresses to script URL. Before sending to the WAP Browser, WMLScript is compiled into byte code on the server. It is a part of the WAP specification.

You can view in details about WMLScript in next Article.

 
 
Sponsered Links
Latest Updates
 
All Content of this site is for learning only. We do not warrant the correctness of its content. The risk from using it lies entirely with the user. While using this site, you agree to have read and accepted our terms of use and privacy policy.
Copyright © 2009 JSPSERVLETTUTORIAL.INFO All Right Reserved