WML[转]

    技术2022-05-11  12

    Validate WML

    WML 参考w3pop.com / 2006-09-21

    The links in the "Start tag" column points to more useful information about the specific tag. It also cover attributes of the specific tag and code examples!"Start tag"栏里的链接指向关于特殊标签的更多有用信息,而且还包括特殊标签和代码例子的属性

    Deck / Card ElementsDeck / Card元素

    Start tag始标签Purpose目的WML<access>Defines information about the access control of a deck定义了有关对一个平台的访问控制的信息1.1<card>Defines a card in a deck定义了平台中的一个卡片元素1.1<head>Contains information about the document包含了该文档的相关信息1.1<meta>Defines meta information about the document 定义了与该文档相关的meta信息 1.1<template>Defines a code template for all the cards in a deck定义了平台中的所有开篇的一个代码模板1.1<wml> Defines a WML deck (WML root)定义了一个WML 平台(基于WML)1.1<!--> Defines a comment定义了一段注释1.1

    Text Elements

    Start tag始标签Purpose目的WML<br>Defines a line break定义了一行的断开1.1<p> Defines a paragraph定义了一段1.1<table>Defines a table定义了一张表格 1.1<td>Defines a table cell (table data)定义了一个表格元素(表格数据table data)1.1<tr>Defines a table row定义了表格行(table row)1.1

    Text Formatting Tags文本格式标签

    Start tag始标签Purpose目的WML<b>Defines bold text定义了粗体文本1.1<big> Defines big text定义了大型文本1.1<em>Defines emphasized text定义了强调文本1.1<i>Defines italic text定义了斜体文本1.1<small>Defines small text定义了小型文本1.1<strong>Defines strong text定义了粗体文本1.1<u>Defines underlined text定义了下划线文本1.1

    Anchor Elements“锚”元素

    Start tag始标签Purpose目的WML<a>Defines an anchor (a link)定义了一个“锚”(一个链接)1.1<anchor> Defines an anchor (a link)定义了一个“锚”(一个链接)1.1

    Image Elements图像元素

    Start tag始标签Purpose目的WML<img>Defines an image定义了一个图像1.1

    Event Elements事件元素

    Start tag始标签Purpose目的WML<do>Activates a task when the user clicks on a word/phrase on the screen用户点击屏幕上单词/短语时激活任务1.1<onevent> Contains code to be executed when one of the following events occurs: onenterbackward, onenterforward, onpick, ontimer包含了当下列事件之一发生时,会被执行的代码:onenterbackward, onenterforward, onpick, ontimer1.1<postfield>Contains information to be sent to the server along with a <go> tag包含着与<go>标签一起被送往服务器的信息1.1

    Task Elements任务元素

    Start tag始标签Purpose目的WML<go>Represents the action of switching to a new card描述了切换到新卡片的行为1.1<noop> Says that nothing should be done (noop stands for "no operation"). Used to override deck-level elements指出不该有任何的操作(noop的意思是“没有操作的(no operation)”)。用于忽略平台级别的元素1.1<prev>Represents the action of going back to the previous cardprevious card[上一级卡片]代表了返回到前面的卡片的行为1.1<refresh>Refreshes some specified card variables. If any of the variables are shown on the screen, this task also refreshes the screen更新一些指定的卡片变量,如果这些变量会显示在屏幕上,这个任务还会刷新屏幕1.1

    Input Elements输入元素

    Start tag始标签Purpose目的WML<fieldset>Used to group together related elements in a card用于把相关元素分组集合到一张卡片里。1.1<input> Defines an input field (a text field where the user can enter some text)定义了一个输入区域(一个用户可以输入文本的区域)1.1<optgroup>Defines an option group in a selectable list定义了在可选列表中的一个选项组1.1<option>Defines an option in a selectable list定义了可选列表中的一个选项1.1<select>Defines a selectable list定义了可选列表1.1

    Variable Elements变量元素

    Start tag始标签Purpose目的WML<setvar>Sets a variable to a specified value in a <go>, <prev>, or <refresh> task在<go>, <prev>, 或 <refresh> 任务里的一个制定值中设置一个变量1.1<timer> Defines a card timer定义了卡片计时器1.1

    WML 字符实体w3pop.com / 2006-09-21

    Character Entities字符实体

    Result结果Description描述Entity Name实体名Entity Number实体号&ersand“和”&& 'apostrophe省略符''>greater-than大于>><less-than小于<< non-breaking space无间断空格  "quotation mark引号""­soft hyphen软连字符­­

    最新回复(0)