
JavaScript
The following are some key features of WML as compared to HTML:
- WML is a markup language for small, wireless computing devices.
- In WML, variables can be defined that store data in string format. In HTML, variables cannot be stored.
- WML uses WML script for client-side scripting, which is stored in a separate file. HTML uses JavaScript.
- The supported image format for WML is WBMP. HTML supports JPEG, GIF and BMP.
- A micro-browser is used to run WML markup. A regular browser, such as internet Explorer, Firefox or Chrome, is used to run HTML markup.
- WML follows XHTML specification and is therefore case sensitive. HTML is not case sensitive.
- WML has fewer tags compared to HTML.
- A deck is a set of WML cards. In HTML, a site is a set of HTML pages.
Key features of WML include:
· Variables
· Text formatting features
· Support for images
· Support for soft-buttons
· Navigation control
· Control of browser history
· Support for event handling (for e.g. telephony services)
· Different types of user interactions, e.g. selection lists and input fields