毒品的危害手抄报资料:response.write中怎样输出html标签
来源:百度文库 编辑:中科新闻网 时间:2024/06/06 02:52:15
response.write("<a href="main.asp">你已登陆,点击这里到下一页</a>")
上面这句为什么会出错?说是“缺少 ')'”
response.write中怎样输出html标签?
上面这句为什么会出错?说是“缺少 ')'”
response.write中怎样输出html标签?
response.write("<a href=main.asp>你已登陆,点击这里到下一页</a>")
字符串内不能出现""所有把main.asp前后的""去掉或改成''
把里面的双引号改为单引号,写成:
response.write(\"<a href=\'main.asp\'>你已登陆,点击这里到下一页</a>\")
如果你真要用双引号的话,就用两个双引号表示,写成:
response.write(\"<a href=\"\"main.asp\"\">你已登陆,点击这里到下一页</a>\")
要想用response.write输出html标签,首先要做如下设置:
Response.ContentType = "text/plain";
Response.Charset = "UTF-8";
输出方法如下:
String strHtml="<img src=""image/win.gif"" width=""35"" height=""37"">"
response.write(strHtml);
response.write中怎样输出html标签
ASP里response.write 如何输出图像
response.write 输出格式的问题
ASP中如何用 response.write 语句输出英文的双引号“"”?
如何用Response.Write输出这个&符号和空格?
why Response.Write 在frontpage 中显示错误么?
why Response.Write 在frontpage 中显示错误么?
asp中Response.Write "xx"的语句
ASP中echo和response.write是否一样?
这句HTML怎样写到response.write里面