用asp的Response.Write输出html代码与直接输出有什么区别呀?
在hml代码中呢写入vbscript代码如: <inputname="user_email"type="text"size="24"maxlength="...
在hml代码中呢写入vbscript代码如: <input name="user_email" type="text" size="24" maxlength="60" value=""/> <br/> <% if Request("Msg") <>"" then Response.Write("<font color='#ff0000'>【" & Request("Msg") & "】</font>") %> <br /> 或在ASP文档中这样写代码:Response.Write("<table width='469' height='80' border='0' align='center' cellpadding='0' cellspacing='0'>"&Vbcr) Response.Write("<tr>"&Vbcr) Response.Write("<td valign='top'>"&Vbcr) Response.Write("<div class='daohang_right'><a href='default.asp'>首页</a>| "& Str_Child & "| </div>"&Vbcr) Response.Write("<table width='95%' border='0' align='center' cellpadding='0' cellspacing='0'>"&Vbcr) Response.Write("</table>"&Vbcr) Response.Write("</div></td>"&Vbcr) Response.Write("</tr>"&Vbcr) Response.Write("</table>"&Vbcr) Response.Write("</table>"&Vbcr) 两种方式就运行速度和方式有和好处??
展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询