WML标签汇总
时间:2021-07-01 10:21:17
帮助过:33人阅读
结构相关标签
---------------------------------------------------------------------
<wml>:
<wml xml:lang="lang" >
content
</wml>:
<card>:
<card id="name"
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 name="name"|http-equiv="name"
content="value"
forua="true | false" />
任务相关标签
------------------------------------------------------------
<timer>:
<timer name="variable"
value="value" />
<setvar>:
<setvar name="name"
value="value" />
<anchor>:
<anchor>
task
</anchor>
<a>:
<a title="label" >
task
text
</a>
<do>:
<do type="type"
label="label"
name="name"
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 name="variable"
title="label"
type="type"
value="value"
default="default"
format="specifier"
emptyok="boolean"
size="n"
maxlength="n"
tabindex="n" />
<select>:
<select title="label"
multiple="boolean"
name="variable"
default="default"
iname="index_var"
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>:
<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>