abstract:<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,&
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <link rel="stylesheet"type="text/css"href="style.css"> <link rel="stylesheet"type="text/css" href="font\font-awesome-4.7.0\css\font-awesome.min.css" > <title>我的作业</title> </head> <body> <div> <div> <div> <a href="">中国大陆 <i class="fa fa-angle-down"></i></a> <a href="" style="color:#F22E00" >亲,请登录</a> <a href="">免费注册</a> <a href="">手机逛淘宝</a> </div> <div> <a href=""class="header_center_a">我的淘宝 <i class="fa fa-angle-down"></i></a> <a href=""class="header_center_a"> <span class="fa fa-shopping-cart"></span> 购物车 <i class="fa fa-angle-down"></i></a> <a href=""class="header_center_a"><span class="fa fa-star"></span> 收藏夹</a> <a href="">商品分类 |</a> <a href=""class="header_center_a">卖家中心 <i class="fa fa-angle-down"></i></a> <a href=""class="header_center_a">联系客服 <i class="fa fa-angle-down"></i></a> <a href=""class="header_center_a">网站导航 <i class="fa fa-angle-down"></i></a> </div> <div</div> </div> </div> </body> </html>
CSS:
*{margin: 0px;padding: 0.px}
a{text-decoration: none;color: #6C6C6C;}
.clear{clear: both;}
.header{width: 100%;background-color: #F5F5F5;}
.header_center{width: 1200px;pink;margin: 0px auto;line-height: 40px;}
.header_center a{font-size: 13px;}
.header_center a:hover{color: #F22E00;}
.header_center_left{height: 40px;float: left;}
.header_center_right{height: 40px;float: right;}
.header_center_a{display:inline-block;width: 80px;height: 40px;text-align:center;margin-right: 5px;}
.header_center_a:hover{background-color: #fff;}
Correcting teacher:天蓬老师Correction time:2019-02-23 16:03:05
Teacher's summary:<a href="">商品分类 |</a> 空格用实体字符, 看到这, 为你点赞, 从手打空格,过度到用实体字符,是小白到程序员的重要标志, 不再相信眼睛看到的, 而是能预测到代码的执行结果.