百科知识

ASP编程问题

2008-11-27 18:44:00f***
ASP编程问题:htmlheadtitle生活表单/titlemetahttp-equi?

最佳回答

  •   <html><head><title>生活表单</title><metahttp-equiv="Content-Type"content="text/html;charset=gb2312"><styletype="text/css"><!--body,td,th{font-family:方正舒体;color:#990000;}body{background- (image/ f);background-color:#FFFFFF;}。
      样式1{font- :"华文行楷";}。样式2{font- }。样式5{font-family:"宋体";font- :18px;}。样式6{font-family:"宋体";font- }。样式7{font- }。样式8{color:#0000FF}。
      样式9{ "华文新魏";}。样式10{font- :"华文新魏";}--></style></head><%T=hour(time)%><%ifT>=6andT<8thenflag="懒虫,起床了,就要迟到了&nbsp&nbsp&nbsp&nbsp开心每一天"elseifT>=8andT<=12thenflag="现在是工作时间,不准开小差,不能打嗑睡&nbsp&nbsp&nbsp&nbsp天道酬勤!"elseifT>12andT<14thenflag="主人,午休时间到了,请注意休息&nbsp&nbsp&nbsp&nbsp&nbsp难得糊涂!"elseifT>=14andT<=18thenflag="努力工作!&nbsp&nbsp&nbsp&nbsp天道酬勤!"elseifT>18andT<24thenflag="下班了,好好轻松一下!"endif%><palign="center"class="样式1样式2">&nbsp;</p><divalign="center"><pclass="样式1样式7">生活小闹钟</p><pclass="样式1样式2"><spanclass="样式5">现在时间&nbsp;&nbsp;</span><spanclass="样式6"><%=time%>&nbsp;</span>&nbsp;</p></div><tablewidth="40%"height="247"border="0"align="center"><tr><tdbackground="image/ f"><divalign="center"class="样式8"><pclass="样式1样式9">&nbsp;</p><pclass="样式10">&nbsp;</p><pclass="样式10">&nbsp;</p><pclass="样式10">&nbsp;</p><pclass="样式10">&nbsp;</p><pclass="样式10"><%=flag%></p></div></td></tr></table><palign="center"class="样式1样式2">&nbsp;</p><palign="center">&nbsp;</p><divalign="center"></div><palign="center">&nbsp;</p></html>我刚编的答案补充<%dimii=hour(time())selectcaseicase(0<i<12)response。
      write"早上好"case(9<i<19)response。write"下午好"'以此论退,直到最后case(19<i<24)response。write"晚上好"endselect%>。
    2008-11-28 10:43:00
  • 你去这问问,这有编程专区!
    2008-11-28 09:46:00
  • 很赞哦! (292)