<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>常见Write方法的使用</title>
</head>
<body>
<%
myname="输出变量myname"
mycolor="red"
Response.Write("How are you!<br>") '直接输出字符串
Response.Write(myname&"<br>") '输出变量
Response.Write("<b><i>粗体加斜体字</i></b><br>") '直接输出HTML代码
Response.Write("<font color="&mycolor&">红色的字体"&"</font><br>")'输出带变量的HTML代码
Response.Write("输出双引号--""<br>") '输出双引号
Response.Write("输出服务器端标志--%/>") '输出服务器标志
%>
</body>
</html>
ASP常见WRITE方法的使用
最新推荐文章于 2019-06-12 21:48:07 发布