content
</wml>
<card>
<card id="name"
  title="label"
  ">

WML标签速查手册

80酷酷网    80kuku.com

  

结构相关标签语法及属性
<wml>
<wml xml:lang="lang" >
   content
</wml>
<card>
<card id="name"
  title="label"
  newcontext="boolean"
  
  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>

<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>
<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



分享到
  • 微信分享
  • 新浪微博
  • QQ好友
  • QQ空间
点击: