📄 wap_intro.asp
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>WAP Introduction</title>
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />
<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />
<link rel="stylesheet" type="text/css" href="../stdtheme.css" />
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>
</head>
<body>
<a name="top"></a>
<table cellpadding="0" cellspacing="0" width="100%" bgcolor="#808080">
<tr>
<td width="234" valign="top">
<a href="../default.htm"><img src="../images/w3default80.jpg" border="0" alt="W3Schools" /></a>
</td>
<th valign="middle" align="left" class="right">
<script type="text/javascript"><!--
google_ad_client = "pub-3440800076797949";
/*txtimg*/
google_ad_slot = "5330033957";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript" src="../../pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<noscript>
<a href="../default.asp" target="_blank"><img src="../banners/w6.gif" border="0" alt="W3Schools" /></a>
</noscript>
<br /></th>
</tr>
</table>
<table style="margin-left:1px" width="800px" border="0" cellpadding="0" cellspacing="2">
<tr>
<td width="137" class="content" valign="top"><br />
<a class="left" href="../default.asp" target="_top">
<img src="../images/homeicon.gif" border="0" alt="home" /></a>
<a class="left" href="../default.asp" target="_top">
<b>HOME</b></a>
<br /><br />
<b>WAP Tutorial</b><br />
<a class="left" target="_top" href="default.asp" >WAP HOME</a><br />
<a class="left" target="_top" href="wap_intro.asp" style='font-weight:bold;'>WAP Introduction</a><br />
<a class="left" target="_top" href="wap_basic.asp" >WAP Basic</a><br />
<a class="left" target="_top" href="wml_format.asp" >WML Formatting</a><br />
<a class="left" target="_top" href="wml_links.asp" >WML Links</a><br />
<a class="left" target="_top" href="wml_input.asp" >WML Input</a><br />
<a class="left" target="_top" href="wml_tasks.asp" >WML Tasks</a><br />
<a class="left" target="_top" href="wml_timer.asp" >WML Timer</a><br />
<a class="left" target="_top" href="wml_variables.asp" >WML Variables</a><br />
<a class="left" target="_top" href="wml_examples.asp" >WML Examples</a><br />
<a class="left" target="_top" href="wml_validate.asp" >WML Validator</a><br />
<a class="left" target="_top" href="wap_demo.asp" >WAP Demo</a><br />
<a class="left" target="_top" href="wap_pages.asp" >WAP W3Schools</a><br />
<br />
<b>References</b>
<br />
<a class="left" target="_top" href="wml_reference.asp" >WML Reference</a><br />
<a class="left" target="_top" href="wml_entities.asp" >WML Entities</a><br />
<a class="left" target="_top" href="wml_dtd.asp" >WML DTD</a><br />
<br />
<b>Resources</b>
<br />
<a class="left" target="_top" href="wap_forum.asp" >WAP Forum/OMA</a><br />
<a class="left" target="_top" href="wap_software.asp" >WAP Software</a><br />
<br />
<b>Selected Reading</b><br />
<a class="left" target="_top" href="../browsers/browsers_stats.asp">Web Statistics</a><br />
<a class="left" target="_top" href="../site/site_glossary.asp">Web Glossary</a><br />
<a class="left" target="_top" href="../hosting/default.asp">Web Hosting</a><br />
<a class="left" target="_top" href="../quality/default.asp">Web Quality</a><br /><br />
<a class="left" target="_top" href="../forum/default.asp">W3Schools Forum</a><br /><br />
<a class="left" target="_top" href="../about/about_helping.asp">Helping W3Schools</a><br /><br />
<script type="text/javascript"><!--
google_ad_client = "pub-3440800076797949";
/*LeftLinkUnit*/
google_ad_slot = "4854527104";
google_ad_width = 120;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="../../pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
<td valign="top">
<table style="border: 1px solid gray" width="100%" bgcolor="#FFFFFF" border="0" cellpadding="5" cellspacing="0">
<tr>
<td>
<h1>Introduction to WAP</h1>
<a href="default.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="wap_basic.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>
<hr />
<p class="intro">The WAP protocol was designed to show internet contents on
wireless clients, like mobile phones.</p>
<hr>
<h2>What you should already know</h2>
<p>Before you continue you should have a basic understanding of the following:</p>
<ul type="square">
<li>WWW, HTML and the basics of building Web pages</li>
<li>JavaScript</li>
<li>XML</li>
</ul>
<p>If you want to study these subjects first, before you start reading about WAP and the wireless markup language WML,
you can find the tutorials you need at <a target="_top" href="../default.asp">W3Schools'
Home Page</a>.</p>
<hr />
<h2>What is WAP?</h2>
<p>The wireless industry came up with the idea of WAP. The point of this
standard was to show internet contents on wireless clients, like mobile phones. </p>
<ul type="square">
<li>WAP stands for <b>W</b>ireless <b>A</b>pplication <b>P</b>rotocol</li>
<li>WAP is an<b> application communication protocol</b></li>
<li>WAP is used to <b>access services and information</b></li>
<li>WAP is <b>inherited</b> from Internet standards</li>
<li>WAP is for <b>handheld devices</b> such as <b> mobile phones</b></li>
<li>WAP is a <b>protocol</b> designed for <b>micro browsers</b></li>
<li>WAP enables the creating of <b>web applications</b> for mobile devices.</li>
<li>WAP uses the <b>mark-up language WML</b> (not HTML)</li>
<li>WML is defined as an <b>XML 1.0</b> application</li>
</ul>
<hr />
<h2>The Wireless Application Protocol</h2>
<p>The WAP protocol is the leading standard for information services on
wireless terminals like digital mobile phones.</p>
<p>The WAP standard is based on Internet standards (HTML, XML and TCP/IP). It consists of
a WML language specification, a WMLScript specification, and a Wireless
Telephony Application Interface (WTAI) specification.</p>
<p>WAP is published by the WAP Forum, founded in 1997 by Ericsson, Motorola, Nokia, and Unwired
Planet. Forum members now represent over 90% of the global handset market, as
well as leading infrastructure providers, software developers and other
organizations. You can read more about the WAP forum at our
<a href="wap_forum.asp">WAP Forum page</a>.</p>
<hr />
<h2>WAP Micro Browsers</h2>
<p>To fit into a small wireless terminal, WAP uses a Micro Browser.</p>
<p>A Micro Browser is a small piece of software that makes minimal demands on
hardware, memory and CPU. It can display information written in a restricted
mark-up language called WML.</p>
<p>The Micro Browser can also interpret a reduced version of JavaScript called WMLScript.</p>
<hr />
<h2>What is WML?</h2>
<p>WML stands for <b>W</b>ireless <b>M</b>arkup <b>L</b>anguage. It is a mark-up
language inherited from HTML, but WML is based on XML, so it is much stricter
than HTML.</p>
<p>WML is used to create pages that can be displayed in a WAP browser. Pages in
WML are called DECKS. Decks are constructed as a set of CARDS.</p>
<hr />
<h2>What is WMLScript?</h2>
<p>WML uses WMLScript to run simple code on the client. WMLScript is a light
JavaScript language. However, WML
scripts are not embedded in the WML pages. WML pages only contains references to
script URLs.
WML scripts need to be compiled into byte code on a server before they can run in a WAP
browser.</p>
<p>Visit our <a href="../wmlscript/default.htm">WMLScript tutorial</a> to learn
more about scripting in WML documents.</p>
<hr />
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -