ASp上向浏览器输出内容的方法
发布时间:2023-04-26 13:28:35 所属栏目:Asp教程 来源:
导读:在ASP中一般使用response.write 命令用来向浏览器写输出。下面的例子向浏览器输出一段文本:"Hello World"。
<html>
<body>
<%
response.write("Hello World!")
%>
</body>
</html>
<html>
<body>
<%
response.write("Hello World!")
%>
</body>
</html>
在ASP中一般使用response.write 命令用来向浏览器写输出。下面的例子向浏览器输出一段文本:"Hello World"。 <html> <body> <% response.write("Hello World!") %> </body> </html> 另外,还可以使用一种更简单的 response.write 命令的简写方法。下面的例子和上面的例子是等效的: <html> <body> <%="Hello World!"%> </body> </html> (编辑:聊城站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐