📅  最后修改于: 2020-10-28 05:38:42             🧑  作者: Mango
WML由一组元素定义,这些元素指定WML平台的所有标记和结构信息。元素由标签标识,每个标签都封装在一对尖括号中。
与HTML不同,WML严格遵守XML层次结构,因此,元素必须包含开始标记。任何内容,例如文字和/或其他元素;和结束标签。元素具有以下两种结构之一:
下表列出了大多数有效元素。 WML标签参考中提供了所有这些元素的完整详细信息。
甲板和卡片元素
WML Elements |
Purpose |
|
Defines a WML comment |
|
Defines a WML deck (WML root) |
|
Defines head information |
|
Defines meta information |
|
Defines a card in a deck |
|
Defines information about the access control of a deck |
|
Defines a code template for all the cards in a deck |
文字元素
WML Elements |
Purpose |
|
Defines a line break |
|
Defines a paragraph |
Defines a table |
| |
Defines a table cell (table data) |
|
Defines a table row |
|
Defines preformatted text |
文字格式标签
WML Elements |
Purpose |
|
Defines bold text |
|
Defines big text |
|
Defines emphasized text |
|
Defines italic text |
|
Defines small text |
|
Defines strong text |
|
Defines underlined text |
图像元素
WML Elements |
Purpose |
|
Defines an image |
锚元素
WML Elements |
Purpose |
|
Defines an anchor |
|
Defines an anchor |
活动元素
WML Elements |
Purpose |
|
Defines a do event handler |
|
Defines an onevent event handler |
|
Defines a postfield event handler |
|
Defines an ontimer event handler |
|
Defines an onenterforward handler |
|
Defines an onenterbackward handler |
|
Defines an onpick event handler |
任务要素
WML Elements |
Purpose |
|
Represents the action of switching to a new card |
|
Says that nothing should be done |
|
Represents the action of going back to the previous card |
|
Refreshes some specified card variables. |
输入元素
可变元素
WML Elements |
Purpose |
|
Defines and sets a variable |
|
Defines a timer |
|