这句ASP为什么不显示图片!!!!!!!!!!!!1

来源:百度知道 编辑:UC知道 时间:2024/05/14 05:06:26
<%
if time()<#12:00:00# and time()<=#00:00:00# then
response.Write("<img src="1.gif">早上好")
Else if time()<#19:00:00# And time()>=#12:00:00# then
response.Write("下午好")
else
response.Write("晚上好")
end if
end if
%>
为什么不会显示呢?

我要晕死了!这你都能写出来!!
response.Write("<img src="1.gif">早上好")



response.Write("<img src='1.gif'>早上好")

对呀 你的代码问题的

response.Write("<img src='1.gif'>早上好") '要用单引号图片地址引起来

至于为什么吗?语法规范 哈哈~!