DIV CSS 佈局教程網

您现在的位置: DIV+CSS佈局教程網 >> 網頁腳本 >  >> XML學習教程 >> XML詳解
WML 標籤速查手冊
編輯:XML詳解     

以下整理了 WML 常用標籤的語法與屬性,方便開發時快速查閱。

結構相關標籤

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

特殊字元

&lt; < (less than)
&gt; > (greater than)
&apos; ' (apostrophe)
&quot; " (quote)
&amp; & (ampersand)
$$ $ (dollar sign)
&nbsp; Non-breaking space
&shy; Soft hyphen

XML學習教程| jQuery入門知識| AJAX入門| Dreamweaver教程| Fireworks入門知識| SEO技巧| SEO優化集錦|
Copyright © DIV+CSS佈局教程網 All Rights Reserved