web应用开发实战作业百度实战2

在这里插入图片描述
代码:

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }

        .toubu {
            width: 100%;
            height: 110px;
        }


        .tupian{
            width: 127px;
            height: 50px;
            float: left;
            position: absolute;
            top: 10px;
            left: 10px;
        }

        .contion{
            width: 642px;
            height: 36px;
            position: absolute;
            top: 18px;
            left: 140px;
        }
        .contion>div{
            float: left;
        }
        .left-box{
            width: 540px;
            height: 34px;

            border: 1px solid #3385ff;

        }
        .right-box{
            height: 36px;
            width: 100px;
            background-color: cornflowerblue;


        }
        .right-box p{
            text-align: center ;
            color: white;
            margin-top: 7px;
            font-size: 15px;
        }
        input{
            outline: none;
            border: 0;
            height: 33.5px;
            width: 540px;

        }
        .daohang{
            width: 344px;
            height: 50px;
            float: left;
            position: absolute;
            top: 18px;
            left: 1200px;
        }
        .daohang ul {
            list-style: none;

        }
        .daohang ul{

            height: 40px;
            list-style: none;
            overflow: hidden;
            float: right;
            padding-top: 10px;

        }
        .daohang ul li {
            float: left;
            margin-right: 20px;
        }
        .daohang ul li a {
            font-size: 15px;
            color: black;
            display: block;

        }
       .toubudaohang{
            width: 1550px;
            height: 50px;
            margin-top: 60px;
            background-color: #f8f8f8;
        }
        .toubudaohang ul {
            list-style: none;

        }
        .toubudaohang ul{

            height: 50px;
            list-style: none;
            overflow: hidden;
            padding-left: 127px;


        }
        .toubudaohang ul li {
            float: left;

            height: 48px;
            width: 65px;



        }
        .toubudaohang ul li a {
            font-size: 15px;
            color: black;
            display: block;
            text-decoration: none;
            margin-top: 15px;
            margin-left: 15px;

        }
        .sousuojieguo{
            margin-top: 10px;
            height: 10px;
            width: 650px;
            padding-left: 127px;
            color: lightgray;
        }
        /*头部*/
        .shenti-left{
            float: left;
            padding-left: 127px;
            width: 650px;
        }
        .baidu{
            width: 650px;
            height: 100px;
        }
        .guanwang{
            text-decoration: none;
            color: white;
            text-align: center;


        }
        .baidu1{
            width: 650px;
            height: 20px;
        }
        .baidu2{
            width: 650px;
            height: 90px;
        }
        .baidu2>img{
            float: left;
            position: absolute;
            top: 200px;
            left: 127px;
        }
        .baidubaike{
            list-style: none;
            overflow: hidden;
        }
        .baidubaike>li{
            float: left;
            margin-right: 10px;
        }
        .baidubaike>li>a{
            color: blue;
        }
        .guanzhudian{
            width: 230px;
            border: 1px solid black;
            border-left:2px solid blue ;
        }
        .baidu3{
            margin-top: 5px;
            width: 650px;
            height: 200px;
            border: 1px solid lightgray;
        }
        .baidu3>img{
            float: left;
            margin: 20px;
        }
        .baidu3>p{
            width:500px;
            float: left;
            margin-top: 10px;
        }
        /*左边身体*/
        .shenti-right{
            float: right;
            padding-right: 127px;
            width: 550px;
            height: 750px;
            border-left: 2px solid black;
        }
        .jieshao{
            width: 550px;
            height: 220px;
        }
        .biaoti{
            width: 510px;
            height: 20px;
        }
        .jiehaorenwu{
            width: 550px;
            height: 220px;

        }
        .zhengti{
            width: 140px;
            height: 220px;
            float: left;
            margin-left: -65px;
        }
        .zhengti1{
            width: 140px;
            height: 220px;
            float: left;
            margin-left: -15px;
            margin-right: -15px;
        }
        .zhengti2{
            width: 140px;
            height:220px;
            float: left;

        }
        .zhengti3{
            width: 140px;
            height: 220px;
            float: left;
            margin-left: -15px;

        }
        /*右边身体*/
    </style>
</head>
<body>
    <div class="toubu">
        <div class="tupian">
            <img src="img/baidu_jgylogo3.gif" height="38" width="117"/>
        </div>
        <div class="contion">
            <div class="left-box">
                <input type="text">
            </div>
            <div class="right-box">
                <p>百度一下</p>
            </div>
        </div>
        <div class="daohang">
            <ul>
                <li><a href="https://www.baidu.com">百度首页</a></li>
                <li><a href="#">设置</a></li>
                <li><a href="#">登录</a></li>
            </ul>
        </div>
        <div class="toubudaohang">
            <ul>
                <li style="border-bottom: solid blue;"><a href="#" style="color: black; font-weight: bold" >网页</a></li>
                <li><a href="#">咨询</a></li>
                <li><a href="#">视频</a></li>
                <li><a href="#">图片</a></li>
                <li><a href="#">知道</a></li>
                <li><a href="#">文库</a></li>
                <li><a href="#">贴吧</a></li>
                <li><a href="#">采购</a></li>
                <li><a href="#">地图</a></li>
                <li><a href="#">更多》</a></li>
            </ul>
        </div>
        <div class="sousuojieguo">
            <span>百度为您找到相关结果约100,000,000个</span>
            <span style="float: right;"><img src="img/loudou.png" height="10px" width="10px"/>搜索工具</span>
        </div>
    </div>
    <div class="shenti-left">
        <div class="baidu">
            <div class="baidu1">
                <a href="#"><span style="color: red">百度</span>一下,你就知道</a>
                <a href="#" class="guanwang"><span style="background-color: blue">官网</span></a>
            </div>
            <div class="baidu2">
                <a href="#" ><img src="img/u=2920084749,2018893236&fm=58&s=39C718720E8EBE011B398BAC0300F024&bpow=121&bpoh=75.jpg.png" height="75" width="121" /></a>
                <span style=" width: 500px;float: left; position: absolute;top: 200px;left: 260px;">全球最大的中文搜索引擎、致力于让网民更便捷地获取信息,找到所求。<span style="color: red">百度</span>超过千亿的中文网页数据库,可以瞬间找到相关的搜索结果。</span>
                <span style="position: absolute; top: 240px;"><a href="https://www.baidu.com" style="text-decoration: none; color: green;margin-left: 10px">https://www.baidu.com/</a>
                <img src="img/xiala.png" height="10px" width="10px"/>&nbsp;<img src="img/mygs.png" height="10px" width="15px"/>-<a
                        href="#" style="color: lightgray">百度快照</a>-<a href="#" style="color: lightgray">7616条评价</a></span>
            </div>
        </div>
        <div class="baidu" style="width: 650px;height: 170px;">
            <div class="baidu1">
                <a href="#"><span style="color: red">百度</span>&nbsp;<span style="color: red">百度</span>百科</a>

            </div>
            <div class="baidu2">
                <a href="#" ><img src="img/u=1593486624,3032607273&fm=58&bpow=540&bpoh=540.jpg.png" height="121" width="121"/></a>
                <span style=" width: 500px;float: left; position: absolute;top: 300px;left: 260px;"><span style="color: red">百度</span>(纳斯达克:BIDU),全球最大的中文搜索引擎、最大的中文网站。<span style="color: red;">百度</span> 愿景是:成为最懂用户,并能帮助人们成长的全球顶级高科技公司。“<span style="color: red;">百度</span>”二字,来自于八百年前南宋词人...
                    <ul class="baidubaike">
                        <li ><a href="#">发展简史</a></li>
                        <li ><a href="#">公司理念</a></li>
                        <li ><a href="#">财报数据</a></li>
                        <li ><a href="#">产品手册</a></li>
                        <li ><a href="#">多语言化</a></li>
                        <li ><a href="#">更多》</a></li>
                    </ul>
                    <div class="guanzhudian">关注点<span style="color: blue;">:</span><a href="#" style="color: blue;">2019百度AI开发者大会</a></div>
                    <span style="color:green">baike.baidu.com/</span><img src="img/xiala.png" height="10px" width="10px"/>
                </span>
            </div>
        </div>
        <div class="baidu" >
            <div class="baidu1">
                <a href="#"><span style="color: red">百度</span>地图</a>
            </div>
            <div class="baidu2">
                <a href="#" ><img src="img/u=4087042252,3305680367&fm=58&s=73F6A876C8A47E90237D87C502007024.jpg"height="75" width="120"/></a>
                <span style=" width: 500px;float: left; position: absolute;top: 460px;left: 260px;">浏览地图、搜索地点、查询公交驾车线路、查看实时路况,您的出行指南、生活助手。提供地铁线路图浏览,乘车方案查询,以及准确的票价和时间信息。</span>
                <span style="position: absolute; top: 520px;"><a href="https://www.baidu.com" style="text-decoration: none; color: green;margin-left: 10px">https://map.baidu.com/</a>
                <img src="img/xiala.png" height="10px" width="10px"/>&nbsp;<img src="img/mygs.png" height="10px" width="15px"/>-<a
                            href="#" style="color: lightgray">百度快照</a>-<a href="#" style="color: lightgray">3417条评价</a></span>
            </div>
        </div>
        <div class="baidu" >
            <div class="baidu1">
                <a href="#">Android <span style="color: red">百度</span>下载_<span style="color:red">百度</span>移动应用</a>
            </div>
            <div class="baidu3">

                <img src="img/e4dde71190ef76c6c930c0199216fdfaaf516725.png" height="68" width="68"/>
                <p>版本:11.13.0.10</p>
                <p>大小:82.4MB</p>
                <p>更新:2019-08-29</p>
                <p>系统:Android4.4或更高b版本</p>
                <p style="font-weight: bold;font-size:20px;color:lawngreen;margin-left: 108px"><img src="img/anquan.png" height="20px" width="20px"/>已通过百度安全认证,请放心使用</p>
                <p ><input type="button" value="下载到电脑" style="width: 100px; margin-left: 107px; background-color: blue ;color: white; float: left"><img src="img/erweima.png" height="20px" width="20px" style="float: left; margin: 0; position: absolute; top: 740px;left:350px"/>
                    <span style="margin-left: 50px"> 扫描玩二维码可直接下载到手机</span></p>
            </div>
        </div>
    </div>
    <div class="shenti-right">
        <div class="jieshao">
            <div class="biaoti">
                <span style="font-weight: bold;margin-left: 10px;float: left;">百度高管</span>
                <span style="float: right;"><a href="#" style="color: blue;">展开</a><a href="#" style="color: blue; text-decoration: none">&or;</a></span>
            </div>
            <div class="jiehaorenwu">
                <div class="zhengti">
                    <img src="img/u=2274909088,1858101302&fm=58&bpow=800&bpoh=933.jpg" height="121" width="121"/>
                    <a href="#" style="margin-left: 40px" >李彦宏</a></span>
                    <p style="text-align: center">百度创始人<br>董事长CEO</p>
                </div>

                <div class="zhengti1">
                    <img src="img/2u=150676725,3314356719&fm=58&bpow=854&bpoh=1280.jpg" height="121" width="121"/>
                    <a href="#" style="margin-left: 40px" >余正钧</a></span>
                    <p style="text-align: center">百度集团首<br>席财务官</p>
                </div>

                <div class="zhengti2">
                    <img src="img/3u=1524638461,1039713376&fm=179&app=42&f=JPEG.jpg" height="121" width="121"/>
                    <a href="#" style="margin-left: 40px" >张亚勤</a></span>
                    <p style="text-align: center">百度总裁</p>
                </div>

                <div class="zhengti3">
                    <img src="img/5=3914165086,579907443&fm=58&bpow=2560&bpoh=3840.jpg" height="121" width="121"/>
                    <a href="#" style="margin-left: 40px" >王海峰</a></span>
                    <p style="text-align: center">百度集团首<br>席技术官</p>
                </div>
            </div>
            <div class="jieshao">
                <div class="biaoti">
                    <span style="font-weight: bold;margin-left: 10px;float: left;">百度旗下产品</span>
                    <span style="float: right;"><a href="#" style="color: blue;">展开</a><a href="#" style="color: blue; text-decoration: none">&or;</a></span>
                </div>
                <div class="jiehaorenwu">
                    <div class="zhengti" style="margin-left: -94px;">

                        <img src="img/6=1032703106,269672967&fm=26&gp=0.jpg.png" height="121" width="121"/>
                        <a href="#" style="margin-left: 40px" >百度搜索</a></span>
                        <p style="text-align: center">全球最大的中<br>文搜索引擎</p>
                    </div>

                    <div class="zhengti1">
                        <img src="img/e4dde71190ef76c6c930c0199216fdfaaf516725.png" height="121" width="121"/>
                        <a href="#" style="margin-left: 40px" >百度APP</a></span>
                        <p style="text-align: center">有事搜一搜<br>没事看一看</p>
                    </div>

                    <div class="zhengti2">
                        <img src="img/nuomi2.jpg" height="121" width="121"/>
                        <a href="#" style="margin-left: 40px" >百度糯米</a></span>
                        <p style="text-align: center">本地生<br>活精品指南</p>
                    </div>

                    <div class="zhengti3">
                        <img src="img/地图.jpg" height="121" width="121"/>
                        <a href="#" style="margin-left: 40px" >百度地图</a></span>
                        <p style="text-align: center">亿万人在用<br>的专业地图</p>
                    </div>
                </div>
                <div class="jieshao">
                    <div class="biaoti">
                        <span style="font-weight: bold;margin-left: 10px;float: left;">互联网巨头财报</span>
                        <span style="float: right;"><a href="#" style="color: blue;">展开</a><a href="#" style="color: blue; text-decoration: none">&or;</a></span>
                    </div>
                    <div class="jiehaorenwu">
                        <div class="zhengti" style="margin-left: -94px;">

                            <img src="img/6=1032703106,269672967&fm=26&gp=0.jpg.png" height="121" width="121"/>
                            <a href="#" style="margin-left: 40px" >百度搜索</a></span>
                            <p style="text-align: center">全球最大的中<br>文搜索引擎</p>
                        </div>

                        <div class="zhengti1">
                            <img src="img/e4dde71190ef76c6c930c0199216fdfaaf516725.png" height="121" width="121"/>
                            <a href="#" style="margin-left: 40px" >百度APP</a></span>
                            <p style="text-align: center">有事搜一搜<br>没事看一看</p>
                        </div>

                        <div class="zhengti2">
                            <img src="img/nuomi2.jpg" height="121" width="121"/>
                            <a href="#" style="margin-left: 40px" >百度糯米</a></span>
                            <p style="text-align: center">本地生<br>活精品指南</p>
                        </div>

                        <div class="zhengti3">
                            <img src="img/地图.jpg" height="121" width="121"/>
                            <a href="#" style="margin-left: 40px" >百度地图</a></span>
                            <p style="text-align: center">亿万人在用<br>的专业地图</p>
                        </div>
                    </div>
        </div>
</body>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值