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
指定缩写
abbr
  • 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
指定主体元素
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
Specifies information about the document
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
声明一个上一个任务,指示导航到历史堆栈上的上一个 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.html