2021-06-06

HTML+CSS制作百度界面

<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>百度一下,你就知道</title>
	<style type="text/css">
			.head{  color:#fff;position:absolute;left:0;top:0;margin:19px 0 5px;padding:0 96px 0 0;}
        .mav{float: left;color: #333;font-weight: 700;line-height: 24px;margin-left: 20px;font-size: 13px;text-decoration:underline;}
		.head a:hover{color:#00c}
		.centers{text-align: center;}
		.gen{position: absolute;right: 10px;width: 60px;height: 23px;float: left;color: #fff;background: #3385ff;line-height: 24px;font-size: 13px;text-align: center;border-bottom: 1px solid #38f;margin-left: 19px;text-decoration: none}
		.imgs{margin-top: 30px}
		.sone{border: 1px solid #b6b6b6;background: #fff;display: inline-block;vertical-align:top;width: 539px;height:34px;border-color: #b8b8b8 #ccc #ccc #b8b8b8;overflow: hidden;}
		span{margin: 0;padding: 0}
		input{border: 0;padding: 0;}
		.head{text-decoration: none;color: gray;}
		.sou{width: 526px;height: 22px;font: 16px/18px arial;line-height: 18px;margin: 6px 0 0 7px;padding: 0;outline: 0;}
		.btn{width: 100px; height: 36px; color: #fff; font-size: 15px; letter-spacing: 1px; background: #3385ff;} 
		.tail{text-align: center;}
		.one{height: 191.5px;}
		p,p>a{color: #999; line-height: 22px; font: 12px arial;}
		#lh a{margin-right:12px;}
	
	</style>
</head>
<body>
<div class="baidu">
	<div class="head">
		<a href="http://news.baidu.com/" target="_blank">新闻</a>
        <a href="https://www.hao123.com/" target="_blank">hao123</a>
        <a href="http://map.baidu.com/" target="_blank">地图</a>
        <a href="http://v.baidu.com/" target="_blank">视频</a>
        <a href="http://tieba.baidu.com/" target="_blank">贴吧</a>
        <a href="http://www.baidu.com/more/">更多</a>
        <a href="#">设置</a>
        <a href="https://passport.baidu.com/v2/?login&tpl=mn&u=http%3A%2F%2Fwww.baidu.com%2F&sms=5">登录</a>
	</div>
 
	<div class="centers">
		<div class="imgs">
			<img src="123.jpg.png" width="270" height="129">
		</div>
		<span class="sone">
			<input type="text" name="" class="sou" maxlength="255">
		</span>
		<span>
			<input class="btn" type="submit" value="百度一下">
		</span>
	</div>
 
	<div class="tail">
		<div class="one"></div>
		<div class="thr">
			<p id="lh">
				<a href="//www.baidu.com/cache/sethelp/help.html" target="_blank">设为首页</a>
				<a href="http://home.baidu.com">关于百度</a>
				<a href="http://ir.baidu.com">About  Baidu</a>
				<a href="http://e.baidu.com/?refer=888">百度推广</a>
				<a href="https://www.baidu.com/duty">使用百度前必读</a>
				<a href="https://help.baidu.com/newadd?prod_id=1&category=4">意见反馈</a>
				<a href="https://help.baidu.com/">帮助中心</a>
				<a href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11000002000001">京公网安备11000002000001号</a> 
				<a href="https://beian.miit.gov.cn/">京ICP证030173号</a> 
				<a>©2021 Baidu  </a>
				<a> ()-经营性-2017-0020信息网络传播视听节目许可证   </a>
				<a>0110516</a>
			</p>
			
		</div>
		
	</div>
</div>
</body>
</html>

在这里插入图片描述

  • 3
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值