WML标签速查手册 wap标签
原文发布时间为:2010-08-19 —— 来源于本人的百度文章 [由搬家工具导入]
WML标签速查手册(转)比较方便便于速查
结构相关标签 语法及属性 <wml> <wml xml:lang="
lang
" > content
</wml> <card> <card
title="
label
" newcontext="
boolean
" style="
style
" onenterforward="
url
" onenterbackward="
url
" ontimer="
url
" > content
</card> <template> <template onenterforward="
url
" onenterbackward="
url
" ontimer="
url
" > content
</template> <head> <head>
content
</head> <access> <access domain="
domain
" path="
path
" /> <meta> <meta |http-equiv="name
"content="
value
" forua="
true
| false
" />
任务相关标签 语法及属性 <timer> <timer
value="
value
" /> <setvar> <setvar value="
value
" /> <anchor> <a> <a title="label
" > task
text
</a> <do> <do type="
type
" label="
label
" optional="
boolean
" > task
</do> <onevent> <onevent type="
type
" >task
</onevent> <go> <go href="
url
" sendreferer="
boolean
" method="
method
" accept-charset="
charset
" content
</go> <prev> <prev>
content
</prev>
<noop> <noop/> <refresh> <refresh>
content
</refresh>
控件相关标签 语法及属性 <input> <input
title="
label
" type="
type
" value="
value
" default="
default
" format="
specifier
" emptyok="
boolean
" size="
n
" maxlength="
n
" tabindex="
n
" /> <select> <select title="label
" multiple="
boolean
" default="
default
" i
ivalue="
default
" tabindex="
n
" > content
</select> <option> <option title="
label
" value="
value
" onpick="
url
" > content
</option> <optgroup> <optgroup title="
label
" > content
</optgroup> <fieldset> <fieldset title="
label
"> content
</fieldset>
输出效果标签 语法及属性 <img> <img alt="
text
" src="
url
" localsrc="
icon
" align="
alignment
" height="
n
" width="
n
" vspace="
n
" hspace="
n
" /> <table> <table align="alignment
" title=
"label"
columns=
"n"
/> <td> <td>content
</td> <tr> <tr><td>
content
</td></tr> <b> <b>
text
</b> <big> <big>
text
</big> <br> <br/> <em> <em>
text
</em> <i> <i>
text
</i> <p> <p align="
alignment
" mode="
wrapmode
" /> <small> <small>text
</small> <strong> <strong>
text
</strong> <u> <u>
text
</u>
特殊字符 <
< (less than)
>> (greater than)
'' (apostrophe)
"" (quote)
&& (ampersand)
$$$ (dollar sign)
Non-breaking space
Soft hyphen