第二次作业

1.导航栏
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>作业1</title>
    <style>
        div{
            width: 800px;
            height: 40px;
            border-width: 1px;  

            /* 元素本身 */
            margin: auto;

            border-color: black;
            border-style: solid;
            text-align: center;
            line-height: 2.5;
            background-color: black;
            box-shadow: 10px 10px 10px gray;
            border-radius: 15px;
        }
        span:hover{
            background-color: red;
        }
        span{
            /* 内联元素,宽度自动适应内容,需变性 */
            display: inline-block;
            color: white;
            height: 40px;
            width: 50px;
            text-shadow: 10px 10px 10px gray;
        }
    </style>
</head>
<body>
    <div>
        <span><b>游戏1</b></span>
        <span><b>游戏2</b></span>
        <span><b>游戏3</b></span>
        <span><b>游戏3</b></span>
        <span><b>游戏4</b></span>
        <span><b>游戏5</b></span>
        <span><b>游戏6</b></span>
        <span><b>游戏7</b></span>
        <span><b>游戏8</b></span>
        <span><b>游戏9</b></span>
    </div>
</body>
</html>

2.页面1
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>作业2.1</title>
    <style>
        [class]{
            position: relative;
            left: 100px;
        }
        .text{
            position: relative;
            left: 240px;
        }
        [id]{
            color: gray;
        }
    </style>
</head>
<body>   
    <table border="0px" width="1000px" height="420px" cellspacing="0px">
        <tr>
            <td colspan="2" height="60px"><img src="http://zswxyjw.yinghuaonline.com/znlykjdxswxy_jsxsd/framework/images/index/index_02.png" alt="" height="60px">
            </td>
            <!-- <td></td> -->
        </tr>
        <tr >
            <td width="500px" height="300px"><img src="./图片/涉外.png" alt="" width="500px" height="300px"></td>
            <td style="background-image: url(./图片/中南.png); text-align: center;">
                <big><big>用户登入</big></big><br>
                <form action="http://zswxyjw.yinghuaonline.com/znlykjdxswxy_jsxsd/framework/xsMain.jsp" method="post">
                <p>用户名: <input type="text" ></p>
                <p>密码:&nbsp;&nbsp;&nbsp;&nbsp;<input type="password" name="password" id="password" value="" required></p>
                <p>
                    <button type="submit" style="background-image: url(./图片/按钮.png); background-size: contain; width: 40px; height: 40px;"" class="submit"></button>&nbsp;
                    <button type="submit" style="background-image: url(./图片/问号.png); background-size: contain; width: 40px; height: 40px;"" class="submit"></button>
                    <!-- 
                        background-size: contain;
                        按图片自身比例适应
                     -->
                </form>
                </p>
            </td>
        </tr>
        <tr>
            <td id="">湖南强智科技发展有限公司&nbsp;版权所有</td>
            <td class="text" id="">隐私声明|设为首页</td>
        </tr>
    </table>
</body>
</html>
3.页面2
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>作业2.2</title>
    <style>
        [class]{
            border-width: 0px;           
            border-color: black;
            border-style: solid;
            line-height: 2.5;
            background-color: rgb(46, 90, 201);
        }
        span:hover{
            background-color: rgb(65, 135, 216);
        }
        span{
            display: inline-block;
            color: white;
            position: relative;
            left: 80px;
        }
        /* [id]{
            position: relative;
            left: 400px;
        } */
        p{
            color: gray;
            position: relative;
            left: 350px;
        }
    </style>
</head>
<body>
    <div id="">
        <img src="http://zswxyjw.yinghuaonline.com/znlykjdxswxy_jsxsd/framework/images/index/index_02.png" alt="">
    </div>
    <div class="">
        <span><b>我的桌面</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <span><b>学籍成绩</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <span><b>培养管理</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <span><b>考试报名</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <span><b>教学评价</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </div><br>
    <div id="">
        <table border="0px" width="1000px" height="600px" >
            <tr>
                <td rowspan="2" colspan="2"><img src="./图片/个人信息.png" alt=""></td>
                <!-- <td></td> -->
                <td rowspan="2"><img src="./图片/选课.png" alt=""></td>
                <td><img src="./图片/评教.png" alt=""></td>
                <td colspan="2"><img src="./图片/留言.png" alt=""></td>
                <!-- <td></td> -->
            </tr>
            <tr>
                <!-- <td></td>
                <td></td> -->
                <!-- <td></td> -->
                <td><img src="./图片/培养.png" alt=""></td>
                <td colspan="2"><img src="./图片/公告.png" alt=""></td>
                <!-- <td></td> -->
            </tr>
            <tr>
                <td><img src="./图片/成绩.png" alt=""></td>
                <td><img src="./图片/周历.png" alt=""></td>
                <td><img src="./图片/计划.png" alt=""></td>
                <td><img src="./图片/查询.png" alt=""></td>
                <td><img src="./图片/卡片.png" alt=""></td>
                <td><img src="./图片/密码.png" alt=""></td>
            </tr>
        </table>
    </div><hr>
    <p>Copyright (C) 湖南强智科技发展有限公司 All Rights Reserved 湘ICP 备12010071号</p>
</body>
</html>
4.页面3
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>作业2.3</title>
    <style>
        [class]{
            border-width: 0px;           
            border-color: black;
            border-style: solid;
            line-height: 2.5;
            background-color: rgb(46, 90, 201);
        }
        span:hover{
            background-color: rgb(65, 135, 216);
        }
        span{
            display: inline-block;
            color: white;
            position: relative;
            left: 80px;
        }
        li{
            list-style-type: none;
            list-style-image: url(./图片/图标.png);
        }
        #ab{
            color: blue;
        }
        #abc{
            color: red;
            position: static;
        }
        #a{
            color: red;
        }
        #b{
            position: relative;
            bottom: 40px;
            right: 180px;
        }
        #c{
            position: relative;
            bottom: 40px;
        }
        #d{
            position: relative;
            right: 10px;
        }
    </style>
</head>
<body>
    <div>
        <img src="http://zswxyjw.yinghuaonline.com/znlykjdxswxy_jsxsd/framework/images/index/index_02.png" alt="">
    </div>
    <div class="">
        <span><b>我的桌面</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <span><b>学籍成绩</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <span><b>培养管理</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <span><b>考试报名</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <span><b>教学评价</b></span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </div>
    <div>
        <table border="1px" cellspacing="0px" style="border-color: rgb(48, 174, 224);">
            <tr>
                <td width="200px">
                    <ul>
                        <li><b>公告留言</b></li><small>已收公告<br>已收留言</small><hr>
                        <li><b>个人信息</b></li><small>修改个人信息<br><p>修改密码</p></small><hr>
                        <li><b>教学周历</b></li><small>教学周历查看</small><hr>
                        <li><b>监护人信息</b></li><small>监护人信息填写</small>
                    </ul>
                </td>
                <td width="700px" style="text-align: center;">
                    <p id="b"><a href=""><b id="ab"><small>首页</small></b></a><b> >> 个人信息 >> 修改密码</b></p>
                    <div id="c">
                        <form action="">
                            <small id="d">登录账号:</small><input type="text" name="" id="d" value="2023013214" disabled><br>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>旧密码:</small><input type="password" name="" id="" required><span id="abc"><small>*必填</small></span><br>
                            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<small>新密码:</small><input type="password" name="" id=""><span id="abc"><small>*必填</small></span><br>
                            <small>确定新密码:</small><input type="password" name="" id=""><span id="abc"><small>*必填</small></span><br>
                            <p> <button type="submit">保存</button>&nbsp;&nbsp;&nbsp;&nbsp;<button type="reset">重置</button></p>
                            <p id="a"><small>密码长度8-16位且必须包含数字、大小写字母与特殊字符</small></p>
                        </form>
                    </div>
                </td>
            </tr>
        </table>
    </div>
</body>
</html>

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值