辛苦老师检查下代码,谢谢
来源:3-24 编程练习
不厌_
2021-05-12 12:55:59
相关代码:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>慕课网3-24 编程练习</title>
<style>
.page-head{
width: 600px;
height: 200px;
border: 1px solid red;
}
.page-body{
width: 600px;
height: 200px;
border: 1px solid yellowgreen;
}
.page-footer{
width: 600px;
height: 200px;
border: 1px solid blue;
}
</style>
</head>
<body>
<!-- 页面头部 -->
<div class="page-head">
<h1>网页logo</h1>
<p>导航</p>
<p>banner图</p>
</div>
<!-- 页面主体 -->
<div class="page-body">
<p>文章内容</p>
<a href="#">链接区</a>
</div>
<!-- 页面页脚 -->
<div class="page-footer">
<p>页脚内容</p>
</div>
</body>
</html>
1回答
相似问题