WMLScript Introduction

From http://www.w3schools.com (Copyright Refsnes Data)

# Introduction to WMLScript

## What you should already know

Before you continue you should have a basic understanding of the following:

- HTML
- JavaScript
- WML

If you want to study these subjects first, find the tutorials on our Home page.

## What is WML?

WML stands for Wireless Markup Language. It is a mark-up language inherited from HTML, but WML is based on XML, so it is much stricter than HTML.

WML is used to create pages that can be displayed in a WAP browser. Pages in WML are called DECKS. Decks are constructed as a set of CARDS.

## What is WMLScript?

- WMLScript is the scripting language used in WML pages
- WMLScript is a light version of the JavaScript language
- WML scripts are not embedded in the WML pages. WML pages only contains references to script URLs
- WMLScript is compiled into byte code on the server before it is sent to the WAP browser
- WMLScript is a part of the WAP specification

## What is WMLScript used for?

- WMLScript is used to validate user input
- WMLScript is used to generate message boxes and dialog boxes locally, to view error messages and confirmations faster
- WMLScript is used to access facilities of the user agent

From http://www.w3schools.com (Copyright Refsnes Data)