- ·上一篇内容:我的C++学习之路
- ·下一篇内容:ASP中Cookies的使用方法
ASP中向浏览器输出内容的方法
在ASP中一般使用response.write 命令用来向浏览器写输出。下面的例子向浏览器输出一段文本:"Hello World"。
<html>
<body>
<%
response.write("Hello World!")
%>
</body>
</html>
另外,还可以使用一种更简单的 response.write 命令的简写方法。下面的例子和上面的例子是等效的:
<html>
<body>
<%="Hello World!"%>
</body>
</html>
评论内容只代表网友观点,与本站立场无关!
评论摘要(共 0 条,得分 0 分,平均 0 分)
查看完整评论