关闭

WML 快速查询表

361人阅读 评论(0) 收藏 举报
 
Decks and cards Timers Variables Anchored links Layout and text formatting
Events Tasks Images User input Special characters
Decks and cards
Element 
Syntax 
<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" />  
 Timers
Element 
Syntax 
<timer>  
<timer name="variable"
       value="value" />  
Variables
Element 
Syntax 
<setvar>  
<setvar name="name"
     value="value" />  
Anchored links
Element 
Syntax 
<anchor>  
 
<a>  
<a title="label" >
   task
   text
</a>
 
Events
Element 
Syntax 
<do>  
<do type="type"
    label="label"
    name="name"
    optional="boolean" >
task
</do>
 
<onevent>  
<onevent type="type" >
   task
</onevent>
 
Tasks
Element 
Syntax 
<go>  
<go href="url"
    sendreferer="boolean"
    method="method"
    accept-charset="charset"
content
</go>
 
<prev>  
<prev>
   content
</prev>
 
<noop>  
<noop/>  
<refresh>  
<refresh>
   content
</refresh>
 
Images
Element 
Syntax 
<img>  
<img alt="text"
     src="url"
     localsrc="icon"
     align="alignment"
     height="n"
     width="n"
     vspace="n"
     hspace="n" />  
User input
Element 
Syntax 
<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>
 
Layout and text formatting
Element 
Syntax 
<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>
 
<table>  
<table align="alignment"  
       title="label"  
       columns="n"/>  
<td>  
<td>content</td>  
<tr>  
<tr>  
  <td>content</td>  
</tr>  
<u>  
<u>
   text
</u>
 
特殊字符(Special characters)
Element 
Display character 
&lt;  
< (less than) 
&gt;  
> (greater than) 
&apos;  
' (apostrophe) 
&quot;  
" (quote) 
&amp;  
& (ampersand) 
$$  
$ (dollar sign) 
&nbsp;  
Non-breaking space 
&shy;  
Soft hyphen 
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:189727次
    • 积分:2794
    • 等级:
    • 排名:第13293名
    • 原创:74篇
    • 转载:76篇
    • 译文:1篇
    • 评论:31条
    文章分类
    最新评论