📄 asp_intro.asp@output=print
字号:
<!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>ASP 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" />
<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>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
<h1>Introduction to ASP</h1>
<a href="default.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" width="100" height="20" /></a>
<a href="asp_install.asp"><img alt="next" border="0" src="../images/btn_next.gif" width="100" height="20" /></a>
<hr />
<p class="intro">An ASP file can contain text, HTML tags and scripts.
Scripts in an ASP file are executed on the server</p>
<hr />
<h2>What you should already know</h2>
<p>Before you continue you should have some basic understanding of the
following:</p>
<ul>
<li>HTML / XHTML</li>
<li>A scripting language like JavaScript or VBScript</li>
</ul>
<p>If you want to study these subjects first, find the tutorials on our
<a href="../default.asp">Home page</a>.</p>
<hr />
<h2>What is ASP?</h2>
<ul>
<li>ASP stands for <b>A</b>ctive <b>S</b>erver <b>P</b>ages</li>
<li>ASP is a program that runs inside <b> IIS</b></li>
<li>IIS stands for <b>I</b>nternet <b>I</b>nformation <b>S</b>ervices</li>
<li>IIS comes as a free component with <b>Windows 2000</b></li>
<li>IIS is also a part of the <b>Windows NT 4.0 Option Pack</b></li>
<li>The Option Pack can be <b>downloaded</b> from Microsoft</li>
<li><b>PWS</b> is a smaller - but fully functional - version of IIS</li>
<li>PWS can be found on your <b>Windows 95/98 CD</b></li>
</ul>
<h2><b>ASP Compatibility</b></h2>
<ul>
<li>ASP is a Microsoft Technology</li>
<li>To run IIS you must have Windows NT 4.0 or later</li>
<li>To run PWS you must have Windows 95 or later</li>
<li>ChiliASP is a technology that runs ASP without Windows OS</li>
<li>InstantASP is another technology that runs ASP without Windows</li>
</ul>
<h2>What is an ASP File?</h2>
<ul>
<li>An ASP file is just the same as an HTML file</li>
<li>An ASP file can contain text, HTML, XML, and scripts</li>
<li>Scripts in an ASP file are executed on the server</li>
<li>An ASP file has the file extension ".asp"</li>
</ul>
<h2>How Does ASP Differ from HTML?</h2>
<ul>
<li>When a browser requests an HTML file, the server returns the file</li>
<li>When a browser requests an ASP file, IIS passes the request to the ASP
engine. The ASP engine reads the ASP file, line by line, and executes the scripts in the file. Finally, the ASP file is returned to the browser as plain HTML</li>
</ul>
<hr />
<h2>What can ASP do for you?</h2>
<ul>
<li>Dynamically edit, change or add any content of a Web page</li>
<li>Respond to user queries or data submitted from HTML forms</li>
<li>Access any data or databases and return the results to a browser</li>
<li>Customize a Web page to make it more
useful for individual users</li>
<li>The advantages of using ASP instead of CGI and Perl, are those of simplicity
and speed</li>
<li>Provide security since your ASP code can not be viewed from the browser</li>
<li>Clever ASP programming can minimize the network traffic</li>
</ul>
<p>Important: Because the scripts are executed on the server,
the browser that displays the ASP file does not need to support scripting at
all!</p>
<hr />
<a href="default.asp"><img alt="previous" border="0" src="../images/btn_previous.gif" width="100" height="20" /></a>
<a href="asp_install.asp"><img alt="next" border="0" src="../images/btn_next.gif" width="100" height="20" /></a>
<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -