找一段代码:不同时段的不同问候

来源:百度知道 编辑:UC知道 时间:2024/06/05 16:37:36
即:上午时提示上午,中午时提示中午好……
代码越详细越好

<html>
<head>
<title>随时间变化提示</title>
<style type="text/css">
<!--
body { font-family: "宋体"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}
A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none }
A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }
a:active { font: 9pt "宋体"; cursor: hand; color: #FF0033 }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>

<body>
<br>
<br>
<center><font color=red face="隶书" size=6>随时间变化提示</font></center>
<br>
<br><center>
<table border=0 bordercolor=blue borderlight=green style="border-collapse: collapse" cellpadding="0" cellspacing="0&q