以下为引用内容: <%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title> ASP程序特点及其标记的用法 </title> </head> <body> <% response.write now() // <% %> 标记 %> <hr width="130" align="left"/> <script language="vbscript" runat="server"> // <script> </script> 标记 response.write now() </script> </body> </html> |
ASP程序特点及其标记的用法
原创
©著作权归作者所有:来自51CTO博客作者osteps的原创作品,请联系作者获取转载授权,否则将追究法律责任
ASP程序的特点
编写ASP程序由 Javascript 或 VBscript 结合 HTML 代码来实现。
常用编写工具有记事本,Frontpage 和 Dreamweaver 。
ASP 代码不会被传输到客户端的浏览器上,这有助于保护源代码,以免泄漏。
ASP标记的用法
方式1:将脚本语言编入<% %> 中,可以和 HTML 语言混合使用。
方式2:用<script> </script> 嵌入Javascript 或 VBscript 脚本语言中。
示例:
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章