WML - WML2.0標籤參考



這是一個完整的WML2元素列表。大多數元素都可以在XHTML規範中找到,除了少數以WML:開頭的元素。這些元素是WML特有的。

所有元素在此處的含義與它們在XHTML規範中的含義相同。

元素屬性描述
a
  • id
  • class
  • title
  • style
  • xml:lang
  • href
  • charset
  • type
  • hreflang
  • rel
  • rev(
  • accesskey
  • tabindex
指定一個錨點
abbr
  • id
  • class
  • title
  • style
  • xml:lang
指定一個縮寫
acronym
  • id
  • class
  • title
  • style
  • xml:lang
指定一個首字母縮寫
address
  • id
  • class
  • title
  • style
  • xml:lang
指定一個地址元素
b
  • id
  • class
  • title
  • style
  • xml:lang
指定粗體文字
base
  • href
為頁面中的所有連結指定一個基本URL
big
  • id
  • class
  • title
  • style
  • xml:lang
指定大號文字
blockquote
  • id
  • class
  • title
  • style
  • xml:lang
  • cite
指定長引用
body
  • id
  • class
  • title
  • style
  • xml:lang
  • wml:newcontext
  • wml:onenterforward
  • wml:onenterbackward
  • wml:ontimer
指定body元素
br
  • id
  • class
  • title
  • style
插入單行換行符
caption
  • id
  • class
  • title
  • style
  • xml:lang
指定表格標題
cite
  • id
  • class
  • title
  • style
  • xml:lang
指定引用
code
  • id
  • class
  • title
  • style
  • xml:lang
指定計算機程式碼文字
dd
  • id
  • class
  • title
  • style
  • xml:lang
指定定義描述
div
  • id
  • class
  • title
  • style
  • xml:lang
指定文件中的一個部分
dl
  • id
  • class
  • title
  • style
  • xml:lang
指定定義列表
dt
  • id
  • class
  • title
  • style
  • xml:lang
指定定義術語
em
  • id
  • class
  • title
  • style
  • xml:lang
指定強調文字
fieldset
  • id
  • class
  • title
  • style
  • xml:lang
指定一個欄位集
form
  • id
  • class
  • title
  • style
  • xml:lang
  • action
  • method
  • enctype
指定一個表單
h1...h6
  • id
  • class
  • title
  • style
  • xml:lang
指定標題1到標題6
head
  • profile
  • xml:lang
指定關於文件的資訊
hr
  • id
  • class
  • title
  • style
  • xml:lang
指定水平線
html
  • version
  • xml:lang
  • xmlns:wml
  • wml:onenterforward
  • wml:onenterbackward
  • wml:ontimer
  • wml:use-xml-fragments
WML文件的開始
i
  • id
  • class
  • title
  • style
  • xml:lang
指定斜體文字
img
  • id
  • class
  • title
  • style
  • xml:lang
  • src
  • alt
  • longdesc
  • height
  • width
  • wml:localsrc
  • wml:type
  • vspace
  • hspace
  • align
指定一個影像
input
  • id
  • class
  • title
  • style
  • xml:lang
  • type
  • name
  • checked
  • maxlength
  • src
  • tabindex
  • accesskey
  • wml:format
  • wml:emptyok
  • wml:name
指定一個輸入欄位
kbd
  • id
  • class
  • title
  • style
  • xml:lang
指定鍵盤文字
label
  • id
  • class
  • title
  • style
  • xml:lang
  • for
  • accesskey
指定表單控制元件的標籤
li
  • id
  • class
  • title
  • style
  • xml:lang
指定列表項
link
  • id
  • class
  • title
  • style
  • xml:lang
  • charset
  • href
  • hreflang
  • type
  • rel
  • rev
  • media
指定資源引用
meta
  • xml:lang
  • http-equiv
  • name
  • content
  • scheme
  • wml:forua
指定元資訊
link
  • id
  • class
  • title
  • style
  • xml:lang
  • declare
  • classid
  • codebase
  • data
  • type
  • codetype
  • archive
  • standby
  • height
  • width
  • name
  • tabindex
指定資源引用
ol
  • id
  • class
  • title
  • style
  • xml:lang
指定有序列表
optgroup
  • id
  • class
  • title
  • style
  • xml:lang
  • disabled
  • label
指定選項組
option
  • id
  • class
  • title
  • style
  • xml:lang
  • selected
  • value
  • wml:onpick
指定下拉列表中的選項
p
  • id
  • class
  • title
  • style
  • xml:lang
  • wml:mode
  • align
指定段落
param
  • id
  • name
  • value
  • valuetype
  • type
指定物件的引數
pre
  • id
  • class
  • title
  • style
  • xml:lang
  • xml:space
指定預格式化文字
q
  • id
  • class
  • title
  • style
  • xml:lang
  • cite
指定短引用
samp
  • id
  • class
  • title
  • style
  • xml:lang
  • cite
指定示例計算機程式碼
select
  • id
  • class
  • title
  • style
  • xml:lang
  • name
  • size
  • multiple
  • tabindex
  • wml:iname
  • wml:value
  • wml:ivalue
  • wml:name
指定可選列表
small
  • id
  • class
  • title
  • style
  • xml:lang
指定小號文字
span
  • id
  • class
  • title
  • style
  • xml:lang
指定文件中的一個部分
strong
  • id
  • class
  • title
  • style
  • xml:lang
指定粗體文字
style
  • title
  • xml:lang
  • type
  • media
  • xml:space
指定樣式定義
table
  • id
  • class
  • title
  • style
  • xml:lang
  • summary
  • wml:columns
  • wml:align
指定表格
td
  • id
  • class
  • title
  • style
  • xml:lang
  • abbr
  • axis
  • headers
  • scope
  • rowspan
  • colspan
  • align
  • valign
指定表格單元格
textarea
  • id
  • class
  • title
  • style
  • xml:lang
  • name
  • rows
  • cols
  • tabindex
  • accesskey
  • wml:format
  • wml:emptyok
  • wml:name
指定文字區域
th
  • id
  • class
  • title
  • style
  • xml:lang
  • abbr
  • axis
  • headers
  • scope
  • rowspan
  • colspan
  • align
  • valign
指定表格標題
title
  • xml:lang
指定文件標題
tr
  • id
  • class
  • title
  • style
  • xml:lang
  • align
  • valign
指定表格行
u
  • id
  • class
  • title
  • style
  • xml:lang
指定下劃線文字
ul
  • id
  • class
  • title
  • style
  • xml:lang
指定無序列表
var
  • id
  • class
  • title
  • style
  • xml:lang
指定變數
wml:access
  • id
  • class
  • title
  • style
  • domain
  • path
指定整個文件的訪問控制資訊
wml:anchor
  • id
  • class
  • title
  • style
  • xml:lang
  • accesskey
定義超連結的源錨點,使用者可以啟用該錨點
wml:card
  • id
  • class
  • title
  • style
  • xml:lang
  • anewcontext
  • onenterforward
  • onenterbackward
  • ontimer
指定文件主體的一部分
wml:do
  • id
  • class
  • title
  • style
  • xml:lang
  • role
為使用者提供一種通用機制來處理當前主體/卡片。任務與wml:do元素相關聯,當用戶啟用該元素時,將執行該任務。
wml:getvar
  • id
  • class
  • title
  • style
  • name
  • conversion
用於將變數的值替換到文件的文字中。
wml:go
  • id
  • class
  • title
  • style
  • href
  • sendreferer
  • method
  • enctype
  • acceptcharset
  • cache-control
  • type
href屬性指定目標URI。
wml:noop
  • id
  • class
  • title
  • style
指定事件發生時不應執行任何操作
wml:onevent
  • id
  • class
  • title
  • style
  • type
將任務繫結到緊鄰元素的特定事件
wml:postfield
  • id
  • class
  • title
  • style
  • name
  • value
用於指示變數或程式引數的例項。name屬性指定欄位名稱。value屬性指定欄位值。
wml:prev
  • id
  • class
  • title
  • style
宣告一個prev任務,指示導航到歷史堆疊上的前一個URI。
wml:refresh
  • id
  • class
  • title
  • style
宣告一個重新整理任務,指示根據wml:setvar元素指定的更新使用者代理上下文。
wml:setvar
  • id
  • class
  • title
  • style
  • name
  • value
指定在當前瀏覽器上下文中設定的變數,作為執行任務的副作用。name屬性指定變數的名稱。value屬性指定要計算和賦值給變數的表示式。
wml:timer
  • id
  • class
  • title
  • style
  • name
  • value
為卡片或主體宣告一個計時器,這提供了一種處理非活動或空閒時間的方法。
wml:widget
  • id
  • class
  • title
  • style
  • xml:lang
  • type
  • require-key
  • minlength
wml:do元素可以包含零個或多個wml:widget元素。這些wml:widget元素代表可用於呈現wml:do元素的可能的部件。
wml2_tutorial.htm
廣告
© . All rights reserved.