WML learning (1): Overview and basic rules

Source: Internet
Author: User
Summary WML (WirelessMarkupLanguage-Wireless Markup Language) is the same language as the HTML language we often hear. it belongs to the XML language family. For HTML-based content, we can use IE or Netscap on our PC.
WML (Wireless Markup Language-Wireless Markup Language) is the same Language as the commonly heard HTML Language. it belongs to the x ml Language family. The content written in HTML can be viewed in IE, Netscape, and other browsers on our PC, WML language files are specially used for display on wireless terminal display devices such as mobile phones for browsing. They can also provide human-computer interaction interfaces to users, receive the query information input by the application, and then return the ultimate information he wants to obtain to the application.

Basic rules
* WML uses the XML document character set and currently supports Unicode 2.0. Unlike HDML, all WML labels, attributes, and specified acceptable values must be in lowercase, CARD names and variables are also case sensitive. Like HDML, only one space is displayed for consecutive null characters. The attribute values in the tag must be enclosed by 'or'. there cannot be spaces between the attribute names, =, and values. For tags that are not displayed in pairs, you must add/Before>, such
. The reference to variables is similar to that of HDML, including:
$ (Var1: esc)
$ (Var1: noesc)
$ (Var1: unesc)
For more information about the three situations, see the relevant section of HDML. The processing of reserved characters is also similar. the corresponding replace characters include:
<
>
''
'"
&&
$
Space

It should be pointed out that during the URL transfer process, the & must be converted to & used to connect parameters &.

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.