一个简单地百度页面

<!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>baidu</title>
<link rel="stylesheet" type="text/css" href="css/baidu.css" />

<style>

         .nav a{            
             line-height: 30px;
             padding: 5px 9px;
             font-size: 13px;
             color: black;
             float:left;
             text-decoration: none;
     }
       .middle{
          text-align: center;
           position: relative;
       }
       
       
       img{
           height: 150px;
           width: 300px;
           margin-top: 113px;
           margin-right: 400px;
           cursor: pointer;
       }
       .reserch{
           position: relative;
           width: 656px;
           position: absolute;
           left: 50%;
           top: -50px;
           transform: translate(-50%);
           padding-top: 100px;
           font-size: 0px;
           position: relative;

       }
       .text{
           float: left;
           width: 512px;
           height: 16px;
           padding: 12px 16px;
           border-radius: 10px 0 0 10px;
           font-size: 16px;
           border: 2px solid #c4c7ce;
           background-color: #fff;          
       }
       .button{
           float:left;
           width: 105px;
           height: 45px;
           margin: -1px;           
           font-size: 17px;
           border-radius: 0 10px 10px 0;
           background-color: #3385ff;          
           font-weight: 400;
           color: white;
           border: none;
       }
       .footer{
           margin-top: 300px;
           text-align: center;
       }
       .footer a{             
             line-height: 60px;
             padding: 0px 9px;
             color:#999;
             font-size: 13px;             
             background-color: #fafafa;
             text-decoration: none;
            
       }
       </style>
</head> 
<body>
     <div class="nav">
                <a href="http://news.baidu.com/">新闻</a>
                <a href="https://www.hao123.com/">hao123</a> 
                <a href="https://map.baidu.com/">地图</a> 
                <a href="#">直播</a>
                <a href="http://v.baidu.com/">视频</a>
                <a href="https://tieba.baidu.com/index">贴吧</a>
                <a href="http://xueshu.baidu.com/">学术</a>
                <a href="https://www.baidu.com/more/">更多</a>
         </div>    
        <div class="middle">
                <a href="https://www.baidu.com/"><img src="logo.png" /> </a>
            </div>       
        
        <div class="reserch">
            <input class="text" type="text">
            <input class="button" type="button"   value="百度一下">
        </div>
        </div>
    <div class="footer">
                       
                <a href="#">设为首页</a>
                <a href="#">关于百度</a>
                <a href="#">About Baidu</a>
                <a href="#">使用百度前必读</a>
                <a href="#">意见反馈</a>
                <a href="#">帮助中心</a>
                <a href="#">京公网安备11000002000001号</a>
                <a href="#">京ICP证030173号</a> 
                <a href="#">2021 Baidu</a>             
                <a href="#"> (京)-经营性-2017-0020</a>   
                <a href="#">信息网络传播视听节目许可证 0110516</a>                       
        </div> 
</body>
</html>

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值