创建一个简单的ASP页面
在服务器端编写的文件 index.asp :
以下为引用内容: <%@LANGUAGE="JSCRIPT" CODEPAGE="65001"%> <html > <head> <title>第一个简单页面</title> </head> <body> 我们对ASP语言<br/> <% for(i=1;i<8;i++){ %> 非常 <br/> <% } %> 有兴趣! </body> </html> |
在浏览器地址栏中键入:http://localhost/index.asp 可以看到如下的运行结果:
我们对ASP语言
非常
非常
非常
非常
非常
非常
非常
有兴趣!
非常
非常
非常
非常
非常
非常
非常
有兴趣!
运行结果的源文件信息:
以下为引用内容: <html > <head> <title>第一个简单页面</title> </head> <body> 我们对ASP语言<br/> 非常 <br/> 非常 <br/> 非常 <br/> 非常 <br/> 非常 <br/> 非常 <br/> 非常 <br/> 有兴趣! </body> </html> |