One overview of WML learning and basic rules _WML tutorials

Source: Internet
Author: User
Tags character set
Overview
WML (Wireless Markup Language-Wireless Markup Language) This description language is the same as the HTML language we often hear, and belongs to the great family of the X ML language. HTML language, we can read on our PC with IE or Netscape, and the WML language is designed to be used for display on some wireless terminal screens, such as mobile phones, for people to read, and also to provide users with a human-computer interface. Accept information such as queries entered by the user, and then return the final information he wants to the user.

Basic rules
* WML uses the XML document character set, currently supports Unicode 2.0, and unlike HDML, all the labels, attributes, and specified acceptable values for WML must be lowercase, and the card's name and variable are case-sensitive. As with HDML, only one space is displayed for consecutive null characters. The value of the attribute within the label must be enclosed with "or", and there should be no space between the property name, = and the value. For a label that does not appear, it must be added before >, such as <br/>. The reference to a variable is basically the same as HDML, with the following:
$ (VAR1:ESC)
$ (VAR1:NOESC)
$ (VAR1:UNESC)
Three forms, specific meanings refer to the related part of the preceding HDML. In the processing of reserved characters is also basically the same, the corresponding substitution characters are:
< <
> >
' '
" "
& &
$ $$
Space
- ­
It is important to note that the & of the connection parameters must be converted to & during the URL transfer process.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.