<!-- 程序 5 - 8 -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>班级网站</title>
<style>
td {
font-size: 12px;
line-height: 20px;
}
a:link {
color: #ffffff;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #ffffff;
}
a:hover {
text-decoration: underline;
color: #ff0000;
}
a:active {
text-decoration: none;
color: #ffffff;
}
td {
color: #ffffff;
height: 40px;
line-height: 40px;
text-align: right;
background-image: url(menu-bg.gif);
}
</style>
</head>
<body>
<table>
<tr>
<td><a href="#"><b>首页</b></a></td>
<td><a href="#">班级新闻</a></td>
<td><a href="#">班级相册</a></td>
<td><a href="#">个人主页</a></td>
<td><a href="#">留言本</a></td>
<td><a href="#">网页设计</a></td>
<td><a href="#">关于我们</a></td>
</tr>
</table>
</body>
</html>
班级网站(网页设计实验)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.