- WML - Home
- WML - Overview
- WML - Environment
- WML - Syntax
- WML - Elements
- WML - Comments
- WML - Variables
- WML - Formatting
- WML - Fonts
- WML - Images
- WML - Tables
- WML - Links
- WML - Tasks
- WML - Inputs
- WML - Submit Data
- WML - Server Scripts
- WML - Events
- WML - Timer
- WML - Template
- WML - DTD
- WML2 - Tutorial
- WML Tools
- WAP - Emulators
- WML - Validator
- WML Useful Resources
- WML - Quick Guide
- WML - Useful Resources
- WML - Discussion
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.
| Element | Attributes | Description |
|---|---|---|
| a |
|
Specifies an anchor |
| abbr |
|
Specifies an abbreviation |
| acronym |
|
Specifies an acronym |
| address |
|
Specifies an address element |
| b |
|
Specifies bold text |
| base |
|
Specifies a base URL for all the links in a page |
| big |
|
Specifies big text |
| blockquote |
|
Specifies a long quotation |
| body |
|
Specifies the body element |
| br |
|
Inserts a single line break |
| caption |
|
Specifies a table caption |
| cite |
|
Specifies a citation |
| code |
|
Specifies computer code text |
| dd |
|
Specifies a definition description |
| div |
|
Specifies a section in a document |
| dl |
|
Specifies a definition list |
| dt |
|
Specifies a definition term |
| em |
|
Specifies emphasized text |
| fieldset |
|
Specifies a fieldset |
| form |
|
Specifies a form |
| h1...h6 |
|
Specifies header 1 to header 6 |
| head |
|
Specifies information about the document |
| hr |
|
Specifies a horizontal rule |
| html |
|
Starts of WML document |
| i |
|
Specifies italic text |
| img |
|
Specifies an image |
| input |
|
Specifies an input field |
| kbd |
|
Specifies keyboard text |
| label |
|
Specifies a label for a form control |
| li |
|
Specifies a list item |
| link |
|
Specifies a resource reference |
| meta |
|
Specifies meta information |
| link |
|
Specifies a resource reference |
| ol |
|
Specifies an ordered list |
| optgroup |
|
Specifies an option group |
| option |
|
Specifies an option in a drop-down list |
| p |
|
Specifies a paragraph |
| param |
|
Specifies a parameter for an object |
| pre |
|
Specifies preformatted text |
| q |
|
Specifies a short quotation |
| samp |
|
Specifies sample computer code |
| select |
|
Specifies a selectable list |
| small |
|
Specifies small text |
| span |
|
Specifies a section in a document |
| strong |
|
Specifies strong text |
| style |
|
Specifies a style definition |
| table |
|
Specifies a table |
| td |
|
Specifies a table cell |
| textarea |
|
Specifies a text area |
| th |
|
Specifies a table header |
| title |
|
Specifies the document title |
| tr |
|
Specifies a table row |
| u |
|
Specifies underlined text |
| ul |
|
Specifies an unordered list |
| var |
|
Specifies a variable |
| wml:access |
|
Specifies access control information for the entire document |
| wml:anchor |
|
Defines a source anchor for a hyperlink that may be activated by the user |
| wml:card |
|
Specifies a fragment of the document body |
| wml:do |
|
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 |
|
Used to substitute the value of a variable into the text of a document. |
| wml:go |
|
The href attribute specifies a destination URI. |
| wml:noop |
|
Specifies that nothing should be done when en event occurs |
| wml:onevent |
|
Binds a task to a particular event for the immediately enclosing element |
| wml:postfield |
|
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 |
|
Declares a prev task, indicating navigation to the previous URI on the history stack. |
| wml:refresh |
|
Declares a refresh task, indicating an update of the user agent context as specified by the wml:setvar elements. |
| wml:setvar |
|
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 |
|
Declares a timer for a card or body, which exposes a means of processing inactivity or idle time. |
| wml:widget |
|
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