<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>百度一下</title>
</head><style>
#cnt {
width: 100%;
margin: 0 auto;
} #part1 {
position: absolute;
left: 78%;
width: 100%;
top: 15px; } #part1 > a {
color: black;
font-size: 12px;
} #part2 {
padding: 12% 30%;
margin: 0 auto;
text-align: center;
} #part3 {
width: 500px;
text-align: center;
margin: 0 auto; } #part3 > p {
color: gray;
font-size: 13px;
line-height: 13px;
} #part4 {
padding-top: 10px;
font-size: 15px;
color: gray;
line-height: 25px;
} #part4 > a {
font-size: 10px;
color: gray;
} #part5 {
line-height: 30px;
margin: -1px 500px;
width: 100px;
height: 30px;
color: #ffffff;
background-color: dodgerblue;
border: 1px solid dodgerblue;
} #part6 {
margin: 25px auto;
width: 600px;
height: 30px;
border: 1px solid dimgray;
}
</style><body>
<div id="cnt">
<div id="part1">
<a href="" style="font-weight: bold">新闻</a>
<a href="" style="font-weight: bold">hao123</a>
<a href="" style="font-weight: bold">地图</a>
<a href="" style="font-weight: bold">视频</a>
<a href="" style="font-weight: bold">贴吧</a>
<a href="" style="font-weight: bold">学术</a>
<a href="">登录</a>
<a href="">设置</a>
</div>
<div id="part2">
<img src="./1baidu.jpg" alt="">
<div id="part6">
<div id="part5">百度一下</div>
</div>
</div>
<div id="part3">
<img src="./2erweima.jpg" alt="">
<br>
下载百度APP<p>有事搜一搜 没事看一看</p>
<div id="part4">
<a href="">把百度设为主页</a>
<a href="">关于百度</a>
<a href="">About Baidu</a>
<a href="">百度推广</a>
<br>
©2019 Baidu <a href="">使用百度前必读</a> <a href="">意见反馈</a> 京IPC证xxxxxxxx号
<a href="">京公网安备1111111111111号</a>
</div>
</div>
</div></body>
</html>
Web应用开发实战#Day3
最新推荐文章于 2022-09-27 19:56:53 发布