創建一個簡單的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> |