乱到不能再乱的代码了。。。
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
body{
font-family:;
margin:0;
font-size:16px;
align="center"
<html>
<head>
<meta charset="utf-8">
<style type="text/css">
body{
font-family:;
margin:0;
font-size:16px;
align="center"
}
a{
text-decoration:none;
}
#goTop{
position:absolute;
text-align:center;
right:30px;
width:18px;
bottom:20px;
font-size:12px;
border:solid 2px #ddd;
padding:5px;
}
#nav li{
width:160px;
height:80px;
line-height:80px;
text-align:center;
float:left;
list-style:none;
font-size:20px;
}
#nav li a{
display: block;
width: 160px;
height: 80px;
color: blue;
text-decoration: none;
font-weight: bold;
}
#nav li a:hover{
color: blue;
background-color: black;
}
</style>
</head>
<script src="jquery.js"></script>
<script language="javasript"type="text/javascript">
var titleWord="带你进入阅读盛宴-《朗读者》";
var speed=300;
var titleChange=""+titleWord;
function titleScroll()
{
if(titleChange.length<titleWord.length)titleChange+="-"+titleWord;
titleChange=titleChange.substring(1,titleChange.length);
document.title=titleChange.substring(0,titleWord.length);
window.setTimeout("titleScroll()",speed);
}
</script>
<script type="text/javascript">
function closePage() {
if (confirm("是否关闭选项卡?") == true)
window.close();
}
</script>
<script>
var now=new Date();
document.write(now.getFullYear()+"年"+(now.getMonth()+1)+"月"+now.getDate()+"日"+" ");
a{
text-decoration:none;
}
#goTop{
position:absolute;
text-align:center;
right:30px;
width:18px;
bottom:20px;
font-size:12px;
border:solid 2px #ddd;
padding:5px;
}
#nav li{
width:160px;
height:80px;
line-height:80px;
text-align:center;
float:left;
list-style:none;
font-size:20px;
}
#nav li a{
display: block;
width: 160px;
height: 80px;
color: blue;
text-decoration: none;
font-weight: bold;
}
#nav li a:hover{
color: blue;
background-color: black;
}
</style>
</head>
<script src="jquery.js"></script>
<script language="javasript"type="text/javascript">
var titleWord="带你进入阅读盛宴-《朗读者》";
var speed=300;
var titleChange=""+titleWord;
function titleScroll()
{
if(titleChange.length<titleWord.length)titleChange+="-"+titleWord;
titleChange=titleChange.substring(1,titleChange.length);
document.title=titleChange.substring(0,titleWord.length);
window.setTimeout("titleScroll()",speed);
}
</script>
<script type="text/javascript">
function closePage() {
if (confirm("是否关闭选项卡?") == true)
window.close();
}
</script>
<script>
var now=new Date();
document.write(now.getFullYear()+"年"+(now.getMonth()+1)+"月"+now.getDate()+"日"+" ");
switch(now.getDay()){
case 0:document.write("星期天"); break;
case 1:document.write("星期一"); break;
case 2:document.write("星期二"); break;
case 3:document.write("星期三"); break;
case 4:document.write("星期四"); break;
case 5:document.write("星期五"); break;
case 6:document.write("星期六"); break;
}
case 0:document.write("星期天"); break;
case 1:document.write("星期一"); break;
case 2:document.write("星期二"); break;
case 3:document.write("星期三"); break;
case 4:document.write("星期四"); break;
case 5:document.write("星期五"); break;
case 6:document.write("星期六"); break;
}
function countdown(){
var now=new Date();
var test = new Date();
test.setFullYear(2018,6,7);
var ms=test-now;
document.getElementById("content").innerHTML=t;
}
</script>
<script src="jquery.js"></script>
<script>
$(function(){
var gotop=$("#goTop").offset().top;
$(window).scroll(function(){
var t=gotop;
t+=$(window).scrollTop();
$("#goTop").stop(true,true).animate({top:t+"px"},100);
if($(window).scrollTop()>=10){
$("#goTop").fadeIn();
}else{
$("#goTop").fadeOut();
}
});
});
</script>
<body align="right" onLoad="titleScroll()" >
<!-- <body background="imges/201.jpg" no-repeat;> -->
<table style="background:url(images/10.jpg);">
<div id="goTop"><a href="#">返回</a></div>
<p align="right"><a href=# onClick="closePage()">关闭网页</a><table width="100%" border="0" cellpadding="0" cellspacing="0"align="center">
<tr height="100%"><td><table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<td width="900"align="right" ><ul id="nav">
<li><a href="#.html" font color="#fffaf0">首页</a></li>
<li><a href="denglu.html">简介</a></li>
<li><a href="tupian.html">主持人</a></li>
<li><a href="#">节目</a></li>
<li><a href="#">嘉宾</a></li>
<li><a href="#">评价</a></li>
<!-- <body background="imges/201.jpg" no-repeat;> -->
<table style="background:url(images/10.jpg);">
<div id="goTop"><a href="#">返回</a></div>
<p align="right"><a href=# onClick="closePage()">关闭网页</a><table width="100%" border="0" cellpadding="0" cellspacing="0"align="center">
<tr height="100%"><td><table width="100%" border="0" cellpadding="0" cellspacing="0" align="center">
<td width="900"align="right" ><ul id="nav">
<li><a href="#.html" font color="#fffaf0">首页</a></li>
<li><a href="denglu.html">简介</a></li>
<li><a href="tupian.html">主持人</a></li>
<li><a href="#">节目</a></li>
<li><a href="#">嘉宾</a></li>
<li><a href="#">评价</a></li>
</ul></td></tr></table>
<tr height="450">
<td>
<table width="1200" border="0"cellpadding="0" cellspacing="0" align="center">
<tr height="100%">
<td width="100%"align="center" >
<h1>阅读使人进步</h1>
<h2 align="right">-xxx</h2></td>
<td width="800" align="center"></td>
<tr height="170">
<td><table width="100%" border="0" cellpadding="0" cellspacing="10" align="center" >
<tr height="50%">
<td width="300" ></td>
</tr></table></td></tr>
</table>
</body>
</html>
<tr height="450">
<td>
<table width="1200" border="0"cellpadding="0" cellspacing="0" align="center">
<tr height="100%">
<td width="100%"align="center" >
<h1>阅读使人进步</h1>
<h2 align="right">-xxx</h2></td>
<td width="800" align="center"></td>
<tr height="170">
<td><table width="100%" border="0" cellpadding="0" cellspacing="10" align="center" >
<tr height="50%">
<td width="300" ></td>
</tr></table></td></tr>
</table>
</body>
</html>