网页练习:学成在线网页制作

学成在线网站,大部分a标签没设置,图片没进行替换,先自己写一下

具体效果如下:

代码如下:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            background-color: #f3f5f7;
        }

        * {
            margin: 0;
            padding: 0;
        }

        li {
            list-style: none;
        }

        a {
            list-style: none;
            color: black;
            text-decoration: none;
        }

        .top {
            height: 101px;
            /* background-color: red; */

        }

        .box2 {
            background-image: url(banner2.png);
            height: 420px;
            background-color: aqua;
        }

        .box3 {
            width: 1200px;
            height: 60px;
            margin: 8px auto;
            background-color: #ffffff;
        }

        .box4 {
            width: 1204px;
            height: 595px;

            margin: 37px auto 0;

        }

        .box5 {
            width: 1209px;
            height: 433px;
            background-color: #ffffff;
            margin: 38px auto 0;

        }

        .box6 {
            width: 1205px;
            height: 433px;
            background-color: #ffffff;
            margin: 40px auto 0;
        }

        .box7 {
            width: 1206px;
            height: 309px;
            background-color: #ffffff;
            margin: 41px auto 0;
        }

        .box8 {
            width: 1204px;
            height: 310px;
            background-color: #ffffff;
            margin: 39px auto;
        }

        .box9 {
            height: 433px;
            background-color:#ffffff;
            margin: 40px auto 0;
        }

        /* .cebian {
        display:inline-block;
        position: absolute;
            width: 100px;
            height: 425px;
    
           margin-top: 1000px;
           background-color:  aquamarine;
        } */
        .top img {
            float: left;
            margin-top: 30px;
            margin-left: 170px;

        }

        .top .daohang {
            float: left;
            margin-left: 79px;
            margin-top: 30px;
        }

        .top .daohang li {
            display: inline-block;
            height: 42px;
            line-height: 42px;
            margin-left: 20px;
        }

        .top .daohang .shouye {
            border-bottom: #00a4ff solid;
            margin-left: 0px;
        }

        .top .sousuo {
            margin-left: 94px;
            margin-top: 30px;
            float: left;
            width: 412px;
            height: 40px;
            border: #00a4ff solid;
        }

        .top .sousuo li input {
            float: left;
            margin-left: 0;
            width: 362px;
            height: 38px;
            border: transparent;
        }

        .top .sousuo li img {
            float: top;
            margin-top: 0;
            margin-left: 0;
            border: transparent;
        }

        .top .xinxi {
            float: left;
            margin-top: 40px;
            margin-left: 30px;
            width: 118px;
            height: 33px;
        }

        .top .xinxi img {
            margin-left: 0;
            margin-top: 0;
        }

        .box2 .daohanglan {
            float: left;
            background-color: #13024b;
            color: aliceblue;
            background: rgba(red, green, blue, 0.5);
            margin-left: 170px;
            width: 190px;
            height: 420px;
            overflow: hidden;
        }

        .box2 .daohanglan li {
            text-indent: 1em;
            height: 40px;
            line-height: 40px;
        }

        .box2 .daohanglan .diyige {
            margin-top: 32px;
        }

        .box2 .youbiandaohang {
            background-color: #ffffff;
            float: right;
            width: 228px;
            height: 320px;
            margin-right: 180px;

        }

        .box2 .youbiandaohang .ge1 {
            background-color: #00a4ff;
            color: white;
            text-align: center;
            height: 48px;
            line-height: 48px;
        }

        .box2 .youbiandaohang .ge2 {
            text-align: left;
            height: 51px;
            width: 200px;
            border-bottom: #efefef solid;
            margin: 19px 46px 12px 15px;

        }

        .box2 .youbiandaohang .ge3 {
            text-align: left;
            height: 51px;
            width: 200px;
            border-bottom: #efefef solid;
            margin: 0px 46px 12px 15px;

        }

        .box2 .youbiandaohang .ge4 {
            text-align: left;
            height: 51px;
            width: 200px;
            border-bottom: #efefef solid;
            margin: 0px 46px 12px 15px;

        }

        .box2 .youbiandaohang .ge5 {
            text-align: center;
            color: #00a4ff;
            border: #00a4ff solid;
            height: 41px;
            width: 200px;
            margin: 0 auto;
            line-height: 41px;

        }

        .box2 .youbiandaohang .xiaodian {
            font-size: 12px;
            color: #b1b1b1;
        }

        .box3 .zhongjianlan li {
            display: inline-block;
            width: 100px;
            margin: 18px 0;
            text-align: center;
            border-right: #b1b1b1 solid;
        }

        .box3 .zhongjianlan .zhongjianlan_end {
            color: #00a4ff;
            float: right;
            margin-right: 20px;
            border: transparent;
        }

        .box4 .jingpintuijian li {
            float: left;
            width: 228px;
            height: 270px;
            margin-left: 15px;
            margin-top: 15px;
            background-color: #ffffff;

        }

        .box4 .jingpintuijian h4 {
            margin-bottom: 6px;

        }

        .box4 .jingpintuijian li img {
            width: 100%;
            height: 155px;


        }

        .box4 .jingpintuijian .diyige1 {
            margin-left: 0px;
        }

        .box4 .jingpintuijian li p {
            width: 184px;
            height: 32px;
            margin: 25px 20px 20px 24px;


        }

        .box4 .jingpintuijian li h6 {
            width: 184px;
            height: 32px;
            margin: 0 0 0 25px;


        }

        .box5 .leftkuai {
            float: left;

        }

        .box5 .dinghang li {
            display: inline-block;
            height: 41px;
            margin-left: 65px;
        }

        .box5 .dinghang .remen {
            margin-left: 352px;
        }

        .box5 .dinghang .diyigehaha {
            margin-left: 0px;
        }

        .box5 .dinghang .chakanquanbu {
            margin-left: 352px;
        }

        .box5 .right_topkuai {
            float: right;
            margin-bottom: 22px;
        }

        .box5 .right-bottom {
            float: right;
            width: 957px;

        }

        .box5 .right-bottom li {
            display: inline-block;
            width: 228px;
            height: 270px;
            margin-left: 11px;
        }

        .box5 .right-bottom li img {
            width: 100%;
            height: 154px;
        }

        .box5 .right-bottom .one {
            margin-left: 0;

        }

        .box5 .right-bottom li p {
            width: 184px;
            height: 32px;
            margin: 25px 20px 20px 24px;


        }

        .box5 .right-bottom li h6 {
            width: 184px;
            height: 32px;
            margin: 0 0 0 25px;


        }

        .box6 .leftkuai1 {
            float: left;

        }

        .box6 .dinghang1 li {
            display: inline-block;
            height: 41px;
            margin-left: 65px;
        }

        .box6 .dinghang1 .remen1 {
            margin-left: 352px;
        }

        .box6 .dinghang1 .diyigehaha1 {
            margin-left: 0px;
        }

        .box6 .dinghang1 .chakanquanbu1 {
            margin-left: 352px;
        }

        .box6 .right_topkuai1 {
            float: right;
            margin-bottom: 22px;
        }

        .box6 .right-bottom1 {
            float: right;
            width: 957px;

        }

        .box6 .right-bottom1 li {
            display: inline-block;
            width: 228px;
            height: 270px;
            margin-left: 11px;
        }

        .box6 .right-bottom1 li img {
            width: 100%;
            height: 154px;
        }

        .box6 .right-bottom1 .one1 {
            margin-left: 0;

        }

        .box6 .right-bottom1 li p {
            width: 184px;
            height: 32px;
            margin: 25px 20px 20px 24px;


        }

        .box6 .right-bottom1 li h6 {
            width: 184px;
            height: 32px;
            margin: 0 0 0 25px;


        }

        .box7 .changkuai li {
            float: left;
            width: 228px;
            height: 270px;
            margin-left: 16.5px;
        }

        .box7 .changkuai .diyi {

            margin-left: 0px;

        }

        .box7 .changkuai li img {
            width: 100%;
            height: 155px;
        }

        .box7 .changkuai li p {
            width: 184px;
            height: 32px;
            margin: 25px 20px 20px 24px;
        }

        .box7 .changkuai li h6 {
            width: 184px;
            height: 32px;
            margin: 0 0 0 25px;

        }

        .box7 .dinghang11 li {
            display: inline-block;
            height: 41px;
            margin-left: 65px;
        }

        .box7 .dinghang11 .remen11 {
            margin-left: 352px;
        }

        .box7 .dinghang11 .diyigehaha11 {
            margin-left: 0px;
        }

        .box7 .dinghang11 .chakanquanbu11 {
            margin-left: 352px;
        }

        .box8 .changkuai111 li {
            float: left;
            width: 228px;
            height: 270px;
            margin-left: 16px;
        }

        .box8 .changkuai111 .diyi111 {

            margin-left: 0px;

        }

        .box8 .changkuai111 li img {
            width: 100%;
            height: 155px;
        }

        .box8 .changkuai111 li p {
            width: 184px;
            height: 32px;
            margin: 25px 20px 20px 24px;
        }

        .box8 .changkuai111 li h6 {
            width: 184px;
            height: 32px;
            margin: 0 0 0 25px;

        }

        .box8 .dinghang111 li {
            display: inline-block;
            height: 41px;
            margin-left: 65px;
        }

        .box8 .dinghang111 .remen111 {
            margin-left: 352px;
        }

        .box8 .dinghang111 .diyigehaha111 {
            margin-left: 0px;
        }

        .box8 .dinghang111 .chakanquanbu111 {
            margin-left: 352px;
        }

        .box9 .zuoceneirong {
            float: left;
            margin-left: 150px;
            margin-top: 33px;
        }

        .box9 .zuoceneirong li img {

            margin-bottom: 25px;
        }

        .box9 .zuoceneirong .xiazai {
            width: 120px;
            height: 36px;
            margin-top: 15px;
            text-align: center;
            line-height: 36px;
            border: #00a4ff solid;
        }
        .box9 .hezuo,
        .you,
        .zhong {
            float: right;
            margin-top: 33px;
            margin-right: 50px;
          
        }
        .box9 ul li {
              margin-bottom: 5px;
        }
        .box9 .hezuo {
            margin-right: 200px;
        }
        .box9 ul .a12 {
            width: 80px;
            height: 17px;
            margin-bottom: 14px;
        }
    </style>
</head>

<body>
    <div class="cebian">

    </div>
    <div class="top">
        <img src="xczx.png">
        <ul class="daohang">
            <li class="shouye"><a href="#">首页</a></li>
            <li><a href="#">课程</a></li>
            <li><a href="#">职业规划</a></li>
        </ul>
        <ul class="sousuo">
            <li>
                <input type="text">
                <img src="fa-search.png">
            </li>
        </ul>
        <ul class="xinxi">
            <img src="登录状态.png" ; </ul>
    </div>
    <div class="box2">
        <ul class="daohanglan">
            <li class="diyige">前端开发</li>
            <li>后端开发</li>
            <li>移动开发</li>
            <li>人工智能</li>
            <li>商业预测</li>
            <li>云计算&大数据</li>
            <li>运维&从测试</li>
            <li>UI设计</li>
            <li>产品</li>
        </ul>
        <ul class="youbiandaohang">
            <li class="ge1">我的课程表</li>
            <li class="ge2">
                继续学习 程序语言设计<br>
                <a href="#" class="xiaodian">正在学习-使用对象</a>
            </li>
            <li class="ge3">
                继续学习 程序语言设计<br>

                <a href="#" class="xiaodian">正在学习-使用对象</a>
            </li>
            <li class="ge4">
                继续学习 程序语言设计<br>
                <a href="#" class="xiaodian">正在学习-使用对象</a>
            </li>
            <li class="ge5">
                全部课程
            </li>
        </ul>
    </div>
    <div class="box3">
        <ul class="zhongjianlan">
            <li>mysql</li>
            <li>mysql</li>
            <li>mysql</li>
            <li>mysql</li>
            <li>mysql</li>
            <li>mysql</li>
            <li>mysql</li>
            <li class="zhongjianlan_end">修改喜好</li>
        </ul>

    </div>
    <div class="box4">
        <ul class="jingpintuijian">
            <h4>精品推荐</h4>
            <li class="diyige1"><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li class="diyige1"><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
        </ul>
    </div>
    <div class="box5">
        <ul class="dinghang">
            <li class="diyigehaha">编程入门</li>
            <li class="remen">热门</li>
            <li>初级</li>
            <li>中级</li>
            <li>高级</li>
            <li class="chakanquanbu">查看全部</li>
        </ul>
        <div class="leftkuai">
            <img src="PHP入门: 基础语法到实际运用      零基础入门:语法与界      进阶:网络与数据缓存      界面到数据存储_.png" alt="">
        </div>
        <div class="right_topkuai">
            <img src="图层 155.png" alt="">
        </div>
        <ul class="right-bottom">
            <li class="one"><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
        </ul>
    </div>
    <div class="box6">
        <ul class="dinghang1">
            <li class="diyigehaha1">编程入门</li>
            <li class="remen1">热门</li>
            <li>初级</li>
            <li>中级</li>
            <li>高级</li>
            <li class="chakanquanbu1">查看全部</li>
        </ul>
        <div class="leftkuai1">
            <img src="PHP入门: 基础语法到实际运用      零基础入门:语法与界      进阶:网络与数据缓存      界面到数据存储_.png" alt="">
        </div>
        <div class="right_topkuai1">
            <img src="图层 155.png" alt="">
        </div>
        <ul class="right-bottom1">
            <li class="one1"><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
        </ul>
    </div>
    <div class="box7">
        <ul class="dinghang11">
            <li class="diyigehaha11">编程入门</li>
            <li class="remen11">热门</li>
            <li>初级</li>
            <li>中级</li>
            <li>高级</li>
            <li class="chakanquanbu11">查看全部</li>
        </ul>
        <ul class="changkuai">
            <li class="diyi"><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
        </ul>
    </div>
    <div class="box8">
        <ul class="dinghang111">
            <li class="diyigehaha111">编程入门</li>
            <li class="remen111">热门</li>
            <li>初级</li>
            <li>中级</li>
            <li>高级</li>
            <li class="chakanquanbu111">查看全部</li>
        </ul>
        <ul class="changkuai111">
            <li class="diyi111"><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
            <li><img src="Snipaste_2024-03-02_17-17-38.png" alt="">
                <p>Androld 网络图片加载框架详解</p>
                <h6>高级·1125人在学习</h6>
            </li>
        </ul>
    </div>
    <div class="box9">
        <ul class="zuoceneirong">
            <li><img src="xczx.png" alt=""></li>
            <li>学成在线致力于普及中国最好的教育它与中国一流大学和机构合作提供在线课程。</li>
            <li>C2017年XTCG Ino.保留所有权利。-沪ICP备15025210</li>
            <li class="xiazai">
                下载APP
            </li>
        </ul>
        <ul class="hezuo">
            <li class="a12">合作伙伴</li>
            <li>合作机构</li>
            <li>合作导师</li>
        </ul>
        <ul class="zhong">
            <li class="a12">关于学成网</li>
            <li>关于</li>
            <li>管理团队</li>
            <li>工作机会</li>
            <li>客户服务</li>
            <li>帮助</li>
        </ul>
        <ul class="you">
            <li class="a12">新手指南</li>
            <li>如何注册</li>
            <li>如何选课</li>
            <li>如何拿到毕业证</li>
            <li>学分是什么</li>
            <li>考试未通过怎么办</li>
        
        </ul>
    </div>

</body>

</html>

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值