当前位置:主页 > 网页教程 > 网页制作 > wap网站教程 > 内容欢迎大家投稿

WML 参考手册

时间:2009-10-03 08:49来源:未知 作者:大宝库 点击:读取中
阅读工具:字体:
 
 

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

(责任编辑:大宝库)


------分隔线----------------------------
推荐内容
  • WAP手机上网问题问与答

    一、我如何键入网址? 1、打开手机,进入服务功能选项 2、按下确定键 3、选中书签 4、...

  • WML语法大全

    WML是一种基于XML(扩展标记语言)的一种标记语言。这种语言是为无线设备用户提供交互...

  • 全面解析WAP技术

    什么是WAP WAP就是无线应用协议(WirelessApplicationProtocol)的简称。虽然它跟联合国...

  • 用QuickWAP组件建设Wap站点

    用QuickWAP组件建设Wap站点教程-准备篇 首先我们要简单了解一下什么是QuickWAP,Quick...

赞助商链接
赞助商链接