zoukankan      html  css  js  c++  java
  • 网页

        一个网页做了好几天,终于做完了:

    <!DOCTYPE html>
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="shortcut icon" href="img/www.ico.la_883ed79d201c2bc44ae63dfdc34c4ea0_16X16.ico" type="image/x-icon" />
    <title>Apple</title>

    <style>
    * {
    margin:0px;
    padding:0px;

    }
    #dingbu {
    100%;
    height:50px;
    background-color:black;

    }
    .a{
    70%;
    height:50px;

    margin:0px auto;

    }
    .b1 {

    9%;
    height:50px;
    /*border:1px solid red;*/
    float:left;
    background-image:url(img/apple666.png);
    background-repeat:no-repeat;
    text-align:center;

    }
    .b2 {
    9%;
    height:50px;
    /*border:1px solid red;*/
    float:left;
    color:white;
    /*font-size:13px;*/
    margin:0px auto;
    line-height:45px;
    }
    .b3 {
    9%;
    height:50px;
    /*border:1px solid red;*/
    float:left;
    color:white;
    font-size:13px;
    margin:0px auto;
    line-height:45px;
    }
    .b4 {
    10%;
    height:50px;
    /*border:1px solid red;*/
    float:left;
    color:white;
    font-size:13px;
    margin:0px auto;
    line-height:45px;
    }
    .b5 {
    10%;
    height:50px;
    /*border:1px solid red;*/
    float:left;
    color:white;
    font-size:13px;
    margin:0px auto;
    line-height:45px;
    }
    .b6 {
    10%;
    height:50px;
    /*border:1px solid red;*/
    float:left;
    color:white;
    font-size:13px;
    margin:0px auto;
    line-height:45px;
    }
    .b7 {
    10%;
    height:50px;
    /*border:1px solid red;*/
    float:left;
    color:white;
    font-size:13px;
    margin:0px auto;
    line-height:45px;
    }
    .b8{
    10%;
    height:50px;
    /*border:1px solid red;*/
    float:left;
    color:white;
    font-size:13px;
    margin:0px auto;
    line-height:45px;

    }
    .b9 {
    20%;
    height:50px;

    float:left;
    background-image:url(img/apple888.png);
    background-repeat:no-repeat;
    }


    .dierbufen {
    100%;
    height:530px;

    background-image:url(img/Apple.png)
    }
    .disanbufen {
    100%;
    height:200px;

    margin:2px 0px 0px 0px;
    }
    .a1 {
    333.5px;
    height:200px;

    float:left;
    margin:0px 2px 0px 0px;
    background-image:url(img/iphone7.png)
    }
    .a2 {
    333.5px;
    height:200px;

    float:left;
    margin:0px 2px 0px 0px;
    background-image:url(img/make.png)
    }
    .a3 {
    333.5px;
    height:200px;

    float:left;
    margin:0px 2px 0px 0px;
    background-image:url(img/watch.png)
    }
    .a4 {
    333.5px;
    height:200px;

    float:left;
    background-image:url(img/macbook.png)
    }
    .zuihouyibufen {

    100%;
    height:350px;

    background-color:Lavender;
    margin:2px 0px 0px 0px;
    }
    .c1 {
    75%;
    height:280px;

    margin:0px auto;
    }
    .d1 {
    19%;
    height:280px;

    float:left;
    font-size:12px;
    line-height:20px;
    }
    .d2 {
    19%;
    height:280px;

    float:left;
    font-size:12px;
    line-height:20px;
    }
    .d3 {
    19%;
    height:280px;

    float:left;
    font-size:12px;
    line-height:20px;
    }
    .d4 {
    18%;
    height:280px;

    float:left;
    font-size:12px;
    line-height:20px;
    }
    .d5 {
    24%;
    height:280px;

    float:left;
    font-size:12px;
    line-height:20px;
    }

    .d6 {
    75%;
    height:70px;

    margin:0px auto;
    font-size:12px;

    }
    .d61 {
    100%;
    height:25px;

    margin:0px auto;
    font-size:11px;
    border-bottom:1px solid black;

    }
    .d62 {
    100%;
    height:45px;

    margin:0px auto;
    font-size:11px;


    }
    .d621 {
    35%;
    height:25px;

    float:left;
    font-size:11px;
    line-height:25px;
    }
    .d622 {
    10%;
    height:25px;

    float:left;
    font-size:11px;
    text-align:center;
    line-height:25px;
    }

    .d623 { 11%;
    height:25px;

    float:left;
    font-size:11px;
    text-align:center;
    line-height:25px;
    }
    .d624 {
    6%;
    height:25px;

    float:left;
    font-size:11px;
    text-align:center;
    line-height:25px;
    }
    .d625 {
    37%;
    height:25px;

    float:left;
    font-size:11px;
    line-height:25px;
    }

    </style>



    </head>
    <body>
    <div id="dingbu">
    <div class="a">

    <div class="b1">

    </div>
    <div class="b2">Mac</div>
    <div class="b3">iPad</div>
    <div class="b4">iPhone</div>
    <div class="b5">Watch</div>
    <div class="b6">TV</div>
    <div class="b7">Music</div>
    <div class="b8">Support</div>
    <div class="b9"></div>
    <div class="b10"></div>
    </div>
    </div>
    <div class="dierbufen"></div>
    <div class="disanbufen">
    <div class="a1"></div>
    <div class="a2"></div>
    <div class="a3"></div>
    <div class="a4"></div>

    </div>
    <div class="zuihouyibufen">

    <div class="c1">
    <div class="d1">
    <h4>Shop and Learn</h4><br />
    Mac<br />
    iPad<br />
    iPhone<br />
    Watch<br />
    TV<br />
    Music<br />
    iTunes<br />
    iPod<br />
    Accessories<br />
    Gift Cards<br />
    </div>
    <div class="d2">
    <h4>Apple Store</h4><br />

    Find a Store<br />
    Genius Bar<br />
    Workshops and Learning<br />
    Youth Programs<br />
    Apple Store App<br />
    Refurbished and Clearance<br />
    Financing<br />
    Reuse and Recycling<br />
    Order Status<br />
    Shopping Help<br />

    </div>
    <div class="d3">
    <h4>For Education</h4><br />

    Apple and Education<br />
    Shop for College<br /><br />

    <h4>For Business</h4>

    Apple and Business<br />
    Shop for Business<br />


    </div>
    <div class="d4">
    <h4>Account</h4><br />

    Manage Your Apple ID<br />
    Apple Store Account<br />
    iCloud.com<br /><br />

    <h4>Apple Values</h4>

    Accessibility<br />
    Education<br />
    Environment<br />
    Inclusion and Diversity<br />
    Privacy<br />
    Supplier Responsibility<br />


    </div>
    <div class="d5">
    <h4>About Apple</h4><br />

    Apple Info<br />
    Newsroom<br />
    Job Opportunities<br />
    Press Info<br />
    Investors<br />
    Events<br />
    Contact Apple<br />


    </div>
    </div>
    <div class="d6">
    <div class="d61">More ways to shop: Visit an Apple Store, call 1-800-MY-APPLE, or find a reseller. </div>
    <div class="d62">
    <div class="d621">

    Copyright © 2017 Apple Inc. All rights reserved.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>Privacy Policy</b>

    </div>
    <div class="d622">
    <b>Terms of Use</b>

    </div>
    <div class="d623"><b>Sales and Refunds</b> </div>
    <div class="d624"><b>Legal</b> </div>
    <div class="d625"><b>Site Map &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    &nbsp; &nbsp;United States</b>

    </div>
    </div>
    </div>




    </body>
    </html>

  • 相关阅读:
    正则 匹配 HTML 标签
    webpack 打包图片 能否提高加载速度
    禁止手机浏览器左右滑屏 后退 前进
    Objective-C--@property,@synthesize关键字介绍
    ios--绘图介绍
    iOS--为视图添加阴影
    iOS--iOS7摄像头识别二维码功能
    iOS--日历事件的获取和添加
    iOS-#ifdef DEBUG代码块介绍
    如何将你的程序打包成ipa
  • 原文地址:https://www.cnblogs.com/qwer123666/p/6863731.html
Copyright © 2011-2022 走看看