WAP之家:为您提供最全最新的WAP技术,CP.SP.3G等行业资讯。 WAP之家交流论坛全新开放 点击进入>>
WAP资讯 | 3G动态 | SP动态 | 运营商动态 | 内容商动态 | 制造商动态 | 论坛讨论>> 每次自动访问
WAP技术 | WAP源码 | 手机编程 | 手机源码 | 无线技术 | J2ME技术 | 手机软件 添加到收藏夹
IVR技术 | SP资料 | SMS MMS技术 | 商业方案 | IVR下载 | 书籍教程 | 工具软件 语言:繁體中文

WAP之家技术文章WAP教程WML教程WML 参考手册

WML 参考手册
作者:佚名  来源:本站整理  发布时间:2008-3-14 15:05:13

WAP 协议用于在无线客户端(比如移动电话)上展示因特网内容。

Deck / Card 元素

开始标签 作用 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  1.1
<template> Defines a code template for all the cards in a deck 1.1
<wml>  Defines a WML deck (WML root) 1.1
<!-->  Defines a comment 1.1

文本元素

开始标签 作用 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) 1.1
<tr> Defines a table row 1.1

文本格式化标签

开始标签 作用 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

锚元素

开始标签 作用 WML
<a> Defines an anchor (a link) 1.1
<anchor>  Defines an anchor (a link) 1.1

图像元素

开始标签 作用 WML
<img> Defines an image 1.1

事件元素

开始标签 作用 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 1.1
<postfield> Contains information to be sent to the server along with a <go> tag 1.1

任务元素

开始标签 作用 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 1.1
<prev> Represents the action of going back to the previous 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

输入元素

开始标签 作用 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

变量元素

开始标签 作用 WML
<setvar> Sets a variable to a specified value in a <go>, <prev>, or <refresh> task 1.1
<timer>  Defines a card timer

[] [返回上一页] [打 印]
文章评论

用户名: 查看更多评论

分 值:100分 85分 70分 55分 40分 25分 10分 0分

内 容:

         (注“”为必填内容。) 验证码: 验证码,看不清楚?请点击刷新验证码