辛苦老师检查代码
来源:3-24 编程练习
cloudonthesun
2021-05-08 17:38:51
<!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>
.header{
background-color:red;
}
.im{
background-color: green;
}
.tail{
background-color: blue;
}
</style>
</head>
<body>
<!-- 页面头部 -->
<div class="header">
<div>
logo
</div>
<div>
导航
</div>
<div>
banner图
</div>
</div>
<!-- 页面主体 -->
<div class="im">
<div>
<p>文章内容</p>
</div>
<div>
链接区
</div>
</div>
<!-- 页面页脚 -->
<div class="tail">
<p>页脚内容</p>
</div>
</body>
</html>
1回答
同学你好,代码是对的,很棒,祝学习愉快!
相似问题