Hao网址导航是一个每日更新的网站,实时追踪热门网站!它的背景图片是一张美丽的风景照片,图片链接在素材中给出。该网站还包含了一些JavaScript代码,用于根据当前时间显示不同的问候语。

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hao网址导航</title>
<style>
body.index-bgt {
background: #fefefe url(//s2.ax1x.com/2019/07/04/ZUS9x0.jpg) 50% 120px no-repeat;
}
.theiaStickySidebar:after {
content: "";
display: table;
clear: both;
}
</style>
</head>
<body class="index-bgt">
<script>
var today = new Date();
var day;
var date;
var hello;
hour = new Date().getHours();
if (hour < 6) {
hello = '凌晨好!';
} else if (hour < 9) {
hello = '早上好!';
} else if (hour < 12) {
hello = '上午好!';
} else if (hour < 14) {
hello = '中午好!';
} else if (hour < 17) {
hello = '下午好!';
} else if (hour < 19) {
hello = '傍晚好!';
} else if (hour < 22) {
hello = '晚上好!';
} else {
hello = '晚上好!';
}
document.write(hello);
</script>
</body>
</html>