Tutorial 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/>.
Reserved characters
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.
Blank Handling
The way WML handles white space inherits from XML, the browser proactively ignores all meaningless spaces and properties, and consecutive spaces are compressed.
Word processing Features
WML also provides some character processing functionality, but not all phones support these features.
<em> Emphasis
<strong> aggravation
<i> Italic character
<b> bold Words
<u> Underline
<big> add a number to the font
<small> font reduction of a number
The browser usually automatically applies <em> or <strong> functions when working with text links, but <i><b><u> must be called specifically, otherwise it will not be used by default in any case.
Paragraph
WML offers two kinds of paragraphs wrap or nowrap, when we chose NoWrap, we had to make sure that the client device had the ability to read without folding the information of the President, and that the phone usually had this function, and that different mobile phones were handled differently.
<p align= "left | Center | Right "mode=" wrap | NoWrap ">
Break a break by force
<br/>
Be sure to add a diagonal line at the back. If there are multiple <input> or <select> in the form, do not use <br/>. Because the links to WML are in menu mode, there is no need to add <br/> to multiple consecutive links.