WML - WML2.0 Tags Reference



Here is a complete list of all the WML2 elements. Most of the elements are available in XHTML specification except few elements starting with WML: These elements are specific to WML.

All the elements have same meaning here what they have in XHTML specification.

ElementAttributesDescription
a
  • id
  • class
  • title
  • style
  • xml:lang
  • href
  • charset
  • type
  • hreflang
  • rel
  • rev(
  • accesskey
  • tabindex
Specifies an anchor
abbr
  • id
  • class
  • title
  • style
  • xml:lang
Specifies an abbreviation
acronym
  • id
  • class
  • title
  • style
  • xml:lang
Specifies an acronym
address
  • id
  • class
  • title
  • style
  • xml:lang
Specifies an address element
b
  • id
  • class
  • title
  • style
  • xml:lang
Specifies bold text
base
  • href
Specifies a base URL for all the links in a page
big
  • id
  • class
  • title
  • style
  • xml:lang
Specifies big text
blockquote
  • id
  • class
  • title
  • style
  • xml:lang
  • cite
Specifies a long quotation
body
  • id
  • class
  • title
  • style
  • xml:lang
  • wml:newcontext
  • wml:onenterforward
  • wml:onenterbackward
  • wml:ontimer
Specifies the body element
br
  • id
  • class
  • title
  • style
Inserts a single line break
caption
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a table caption
cite
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a citation
code
  • id
  • class
  • title
  • style
  • xml:lang
Specifies computer code text
dd
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a definition description
div
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a section in a document
dl
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a definition list
dt
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a definition term
em
  • id
  • class
  • title
  • style
  • xml:lang
Specifies emphasized text
fieldset
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a fieldset
form
  • id
  • class
  • title
  • style
  • xml:lang
  • action
  • method
  • enctype
Specifies a form
h1...h6
  • id
  • class
  • title
  • style
  • xml:lang
Specifies header 1 to header 6
head
  • profile
  • xml:lang
Specifies information about the document
hr
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a horizontal rule
html
  • version
  • xml:lang
  • xmlns:wml
  • wml:onenterforward
  • wml:onenterbackward
  • wml:ontimer
  • wml:use-xml-fragments
Starts of WML document
i
  • id
  • class
  • title
  • style
  • xml:lang
Specifies italic text
img
  • id
  • class
  • title
  • style
  • xml:lang
  • src
  • alt
  • longdesc
  • height
  • width
  • wml:localsrc
  • wml:type
  • vspace
  • hspace
  • align
Specifies an image
input
  • id
  • class
  • title
  • style
  • xml:lang
  • type
  • name
  • checked
  • maxlength
  • src
  • tabindex
  • accesskey
  • wml:format
  • wml:emptyok
  • wml:name
Specifies an input field
kbd
  • id
  • class
  • title
  • style
  • xml:lang
Specifies keyboard text
label
  • id
  • class
  • title
  • style
  • xml:lang
  • for
  • accesskey
Specifies a label for a form control
li
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a list item
link
  • id
  • class
  • title
  • style
  • xml:lang
  • charset
  • href
  • hreflang
  • type
  • rel
  • rev
  • media
Specifies a resource reference
meta
  • xml:lang
  • http-equiv
  • name
  • content
  • scheme
  • wml:forua
Specifies meta information
link
  • id
  • class
  • title
  • style
  • xml:lang
  • declare
  • classid
  • codebase
  • data
  • type
  • codetype
  • archive
  • standby
  • height
  • width
  • name
  • tabindex
Specifies a resource reference
ol
  • id
  • class
  • title
  • style
  • xml:lang
Specifies an ordered list
optgroup
  • id
  • class
  • title
  • style
  • xml:lang
  • disabled
  • label
Specifies an option group
option
  • id
  • class
  • title
  • style
  • xml:lang
  • selected
  • value
  • wml:onpick
Specifies an option in a drop-down list
p
  • id
  • class
  • title
  • style
  • xml:lang
  • wml:mode
  • align
Specifies a paragraph
param
  • id
  • name
  • value
  • valuetype
  • type
Specifies a parameter for an object
pre
  • id
  • class
  • title
  • style
  • xml:lang
  • xml:space
Specifies preformatted text
q
  • id
  • class
  • title
  • style
  • xml:lang
  • cite
Specifies a short quotation
samp
  • id
  • class
  • title
  • style
  • xml:lang
  • cite
Specifies sample computer code
select
  • id
  • class
  • title
  • style
  • xml:lang
  • name
  • size
  • multiple
  • tabindex
  • wml:iname
  • wml:value
  • wml:ivalue
  • wml:name
Specifies a selectable list
small
  • id
  • class
  • title
  • style
  • xml:lang
Specifies small text
span
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a section in a document
strong
  • id
  • class
  • title
  • style
  • xml:lang
Specifies strong text
style
  • title
  • xml:lang
  • type
  • media
  • xml:space
Specifies a style definition
table
  • id
  • class
  • title
  • style
  • xml:lang
  • summary
  • wml:columns
  • wml:align
Specifies a table
td
  • id
  • class
  • title
  • style
  • xml:lang
  • abbr
  • axis
  • headers
  • scope
  • rowspan
  • colspan
  • align
  • valign
Specifies a table cell
textarea
  • id
  • class
  • title
  • style
  • xml:lang
  • name
  • rows
  • cols
  • tabindex
  • accesskey
  • wml:format
  • wml:emptyok
  • wml:name
Specifies a text area
th
  • id
  • class
  • title
  • style
  • xml:lang
  • abbr
  • axis
  • headers
  • scope
  • rowspan
  • colspan
  • align
  • valign
Specifies a table header
title
  • xml:lang
Specifies the document title
tr
  • id
  • class
  • title
  • style
  • xml:lang
  • align
  • valign
Specifies a table row
u
  • id
  • class
  • title
  • style
  • xml:lang
Specifies underlined text
ul
  • id
  • class
  • title
  • style
  • xml:lang
Specifies an unordered list
var
  • id
  • class
  • title
  • style
  • xml:lang
Specifies a variable
wml:access
  • id
  • class
  • title
  • style
  • domain
  • path
Specifies access control information for the entire document
wml:anchor
  • id
  • class
  • title
  • style
  • xml:lang
  • accesskey
Defines a source anchor for a hyperlink that may be activated by the user
wml:card
  • id
  • class
  • title
  • style
  • xml:lang
  • anewcontext
  • onenterforward
  • onenterbackward
  • ontimer
Specifies a fragment of the document body
wml:do
  • id
  • class
  • title
  • style
  • xml:lang
  • role
Provides a general mechanism for the user to act upon the current body/card. A task is associated with the wml:do element and that task is executed when the user activates the element.
wml:getvar
  • id
  • class
  • title
  • style
  • name
  • conversion
Used to substitute the value of a variable into the text of a document.
wml:go
  • id
  • class
  • title
  • style
  • href
  • sendreferer
  • method
  • enctype
  • acceptcharset
  • cache-control
  • type
The href attribute specifies a destination URI.
wml:noop
  • id
  • class
  • title
  • style
Specifies that nothing should be done when en event occurs
wml:onevent
  • id
  • class
  • title
  • style
  • type
Binds a task to a particular event for the immediately enclosing element
wml:postfield
  • id
  • class
  • title
  • style
  • name
  • value
Used to indicate an instance of a variable or program argument. The name attribute specifies the field name. The value attribute specifies the field value.
wml:prev
  • id
  • class
  • title
  • style
Declares a prev task, indicating navigation to the previous URI on the history stack.
wml:refresh
  • id
  • class
  • title
  • style
Declares a refresh task, indicating an update of the user agent context as specified by the wml:setvar elements.
wml:setvar
  • id
  • class
  • title
  • style
  • name
  • value
Specifies the variable to set in the current browser context as a side effect of executing a task. The name attribute specifies the name of the variable. The value attribute specifies the expression to evaluate and assign the variable.
wml:timer
  • id
  • class
  • title
  • style
  • name
  • value
Declares a timer for a card or body, which exposes a means of processing inactivity or idle time.
wml:widget
  • id
  • class
  • title
  • style
  • xml:lang
  • type
  • require-key
  • minlength
The wml:do element can contain zero or more wml:widget elements. These wml:widget elements represent possible widgets that may be used to present the wml:do element.
wml2_tutorial.htm
Advertisements