|
元 素 |
功 能 |
语法格式 |
|
img |
img元素使用于在格式化的文本中放置和显示一幅图好像 |
<img alt="text" src="url" localsrc="icon" align="alignment" height="n" width="n" vspace="n" hspace="n" /> |
|
input |
input元素使用于定义文本实体对类似,包含有对输入文本内容的格式、数据类型、长度、值、变量名等多种属性的详细规定 |
<input name="variable" title="label" type="type" value="value" default="default" format="specifier" emptyok="false|true" size="n" maxlength="n" tabindex="n"/> |
|
meta |
meta元素使用于定义wml卡片组相关的通使用meta信息 |
<meta name="name"|http-equiv="name" content="value" forua="true|false" scheme="format"/ > |
|
noop |
noop元素表示什么也不做,是一个空操作 |
<noop/> |
|
onenterbackward |
当使用户使用prev任务或类似的任务来导航至某一卡片时,onenterbackward事件才可发生。换句话说,当使用户从历史堆栈中选取url地址,并通过浏览器打开这一地址对应的卡片时,onenterbackward事件才能发生
|
<card id="name" title="label" newcontext="boolean" ordered="true" onenterforward="href" onenterbackward="href" ontimer="href" > 内容(content) </card> 或: <template onenterforward="href" onenterbackward="href" ontimer="href" > 内容(content) </template> 或: <onevent type="onenterbackward"> <go href="href"/> 或其他任务(task) </onevent> |
|
onenterforward |
onenterforward事件仅当使用户使用go任务或类似于go任务的任务来定位和浏览卡片时才可发生。设置onenterforward事件后,当使用户进入当前卡片组时,浏览器就会定位onenterforward属性或<go/>标签中指定超链(href)的url地址,并打开url指定的卡片 |
<card id="name" title="label" newcontext="boolean" ordered="true" onenterforward="href" onenterbackward="href" ontimer="href" > 内容(content) </card> 或: <template onenterforward="href" onenterbackward="href" ontimer="href" > 内容(content) </template> 或: <onevent type="onenterforward"> <go href="href"/> 或其他任务(task) </onevent> |

RSS订阅