web第二次作业

1.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户注册</title>
    <style>
        table {
            width: 25%;
            border-collapse: collapse;
        }
        th, td {
            text-align: center;
            border: 1px solid black;
            padding: 2px;
        }
    </style>
</head>
<body>
    <form action="#" >
    <table style="background-color: darkgray;" border="1">
        <tr>
            <td colspan="2" style="background-color: rgb(123, 121, 121);">用户注册 </td>
        </tr>
        <tr>
            <td><p>
                <label for="username">username</label>
            </p></td>
            <td><p>
                <input type="text" name="username" id="username">
            </p></td>
        </tr>
        <tr>
            <td><p><label for="password">password</label></p></td>
            <td><p><input type="password" name="password" id="password"></p></td>
        </tr>
        <tr>
            <td>sex</td>
            <td><p>
                <input type="radio" name="1" value="boy" checked="checked">boy
                <input type="radio" name="1" value="girl">girl
            </p></td>
        </tr>
        <tr>
            <td>hobby</td>
            <td><p>
                <input type="checkbox" name="hobby" value="写作">写作
                <input type="checkbox" name="hobby" value="看书">看书
                <input type="checkbox" name="hobby" value="体育">体育
            </p></td>
        </tr>
        <tr>
            <td>省份</td>
            <td><p>
                <select name="adderss" id="adderss">
                    <option value="  ">  </option>
                    <option value="西安">西安</option>
                    <option value="北京">北京</option>
                    <option value="上海">上海</option>
                    <option value="深圳">深圳</option>
            </select>
            </p></td>
        </tr>
        <tr>
            <td>self-introuducation</td>
            <td><p>
                <textarea name="textarea" id="textarea" cols="30" rows="10"></textarea>
            </p></td>
        </tr>
        <tr>
            <td colspan="2" style="background-color: rgb(123, 121, 121);"><p>
                <input type="submit" value="注册">
                <input type="reset"  value="重置">
            </p></td>
        </tr>

    </table>
</form>
</body>
</html>

2.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>QQ注册</title>
    <style>
        table {
            width: 100%;
            border-collapse: collapse;
        }
        th, td {
            text-align: center;
            border: 1px solid white;
            padding: px;
        }
    </style>
</head>
<body>
    <form action="#">
    <table>
        <tr>
            <td rowspan="10"><img style="width: 300px;" src="./img/qq注册.png" alt="qq注册" title="qq注册"></td>
            <td></td>
            <td>qq靓号</td>
            <td><p>
                <select>
                    <option value="简体中文">简体中文</option>
                    <option value="繁体中文">繁体中文</option>
                </select>
            </p></td>
            <td>意见反馈</td>
        </tr>
            <td><span style="font-size: 24px;">欢迎注册QQ</span></td>
            
        </tr>
        <tr>
            <td> <span style="font-size: 18px;">每一天,乐在沟通。</span>
                <span style="font-size: 18px; color: aqua;">免费靓号</span></td>
        </tr>
        <tr>
            <td><input type="text" name="昵称" id="昵称" placeholder="昵称"></td>
        </tr>
        <tr>
            <td><input type="password" name="密码" id="密码" placeholder="密码"></td>
        </tr>
        <tr>
            <td><p>
                <select name="num" id="num">
                    <option value="+86">+86</option>
                    <option value="+12">+12</option>
            </select>
           <input type="number" name="num1" id="num1">
            </p></td>
        </tr>
        <tr>
            <td style="color: gray;">可通过手机号找回密码</td>
        </tr>
        <tr>
            <td><input type="image" src="./img/注册.png" alt="注册"></td>
        </tr>
        <tr>
            <td><input type="checkbox" name="haha" checked="checked">我已阅读并同意相关隐私政策</td>
        </tr>
        <tr style="color: gray;"><td>copyright &copy; 1998-2022Tencent All Rights Resenvent</td></tr>

    </table>
</form>
</body>
</html>

3.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>qq登录</title>
    <style>
        table {
            width: 100%;
            border-collapse: collapse;
        }
        th, td {
            text-align: center;
            border: 1px solid white;
            padding: px;
        }
    </style>

</head>
<body>
    <form>
        <table>
            <tr style="color: white; background-color: #1296db;" >
                <td colspan="3"><img style="width: 80px ;" src="./img/登录.png" alt="legin" title="legin"></td>
                <td>QQ登录</td>
                <td>授权管理</td>
                <td>申请接入</td>
            </tr>
            <tr> <td colspan="3" rowspan="2"><span style="font-size: 24px;">账号密码登录</span></td>
                 <td colspan="3">&nbsp;</td>
                 </tr>
                 <tr>
                    <td colspan="3">
                        <span style="font-size: 18px; color: #1296db;">腾讯网</span>
                        <span style="font-size: 18px;">将获得以下权限:</span>
                    </td>
                 </tr>
            <tr><td colspan="3" rowspan="2">
                <span style="font-size: 18px;">推荐使用</span>
                <span style="font-size: 18px; color: #1296db;">快速安全登录</span>
                <span style="font-size: 18px;">,防止盗号</span>
              </td>
              <td colspan="3">&nbsp;</td>
              
            </tr>
            <tr><td colspan="3"><input type="checkbox" name="haha" checked="checked">全选</td></tr>
            <tr><td colspan="3" rowspan="2">
                <input type="text" name="昵称" id="昵称" placeholder="支持QQ号/手机号/邮箱登录">
             </td>
            </tr>
            <tr>
                 <td colspan="3"><input type="checkbox" name="haha" checked="checked">获得您的昵称,头像,性别及会员信息</td>
            </tr>
            <tr>
                <td colspan="3" rowspan="2">
                    <input type="password" name="密码" id="密码" placeholder="密码">
                </td>
                <td colspan="3">&nbsp;</td>
            </tr>
            <tr><td colspan="3">
                    <span style="font-size: 13px;">授权后表明你已同意</span>
                    <span style="font-size: 13px; color: #1296db;">QQ登录服务协议</span>
                   
                  </td>
            </tr>
            <tr>
                    <td colspan="3"><input type="image" src="./img/授权并登录.png" alt="授权"></td>
            </tr>
            <tr>
                <td>忘记密码?</td>
                <td>注册新账号</td>
                <td>意见反馈</td>
            </tr>
        </table>
    </form>
</body>
</html>

4

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>sina</title><style>
        body {
            background-image: url('./img/蓝白jpg.jpg');
            background-size: cover; /* 背景图填充整个屏幕 */
        }
        table {
            width: 85%;
            border-collapse: collapse;
        }
        th, td {
            text-align: left;
            border: 1px ;
            padding: 8px;
        }
        .header{
            height: 100px;
        }
        .concent{
            height: 600px;
        }
        .footer{
            height: 200px;
        }
    </style>
</head>
<body>
    <form action="#">
    <div class="header"></div>
    <div class="concent">
    <table style="height: 600px;">
        <th>
        <tr style="color: aliceblue;">
            <td ><img style="width: 100px ;" src="./img/新浪.png" alt="logo" title="logo"></td>
            <td colspan="3">&nbsp;</td>
            <td>新浪首页</td>
            <td>帮助</td>
        </tr>
       </th>
       <tbody style="background-color:white;">
        <tr>
            <td>&nbsp;</td>
            <td >手机注册</td>
            <td>邮箱注册</td>
            <td>&nbsp;</td>
            <td colspan="2" rowspan="2">
                <span style="font-size: 13px;">已有帐号,</span>
                <span style="font-size: 13px; color: #1296db;">直接登录《</span>
            </td>
        </tr>
        <tr>
            
            <td rowspan="3"><img style="width: 50px;" src="./img/手机.png" alt="手机" title="手机"></td>
            <td colspan="3">手机号码:<input type="number" name="num1" id="num1"></td>
            
        </tr>
        <tr>
         
            <td colspan="2">
                <span style="font-size: 10px;">使用微博账号</span>
                <span style="font-size: 10px; color: #1296db;">直接登录</span></td>
            <td colspan="3" rowspan="5">&nbsp;</td>
        </tr>
        <tr>
            
            <td colspan="2">设置密码:<input type="password" name="密码" id="密码" placeholder="密码"></td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="3">兴趣标签:
                <input type="checkbox" name="hobby" value="新闻">新闻
                <input type="checkbox" name="hobby" value="娱乐">娱乐
                <input type="checkbox" name="hobby" value="文化">文化
                <input type="checkbox" name="hobby" value="体育">体育
                <input type="checkbox" name="hobby" value="IT">IT
                <input type="checkbox" name="hobby" value="财经">财经
                <input type="checkbox" name="hobby" value="时尚">时尚
                <input type="checkbox" name="hobby" value="汽车">汽车
                <input type="checkbox" name="hobby" value="房产">房产
                <input type="checkbox" name="hobby" value="生活">生活
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td colspan="3">上发短信手机:
                <input type="text" name="message" id="message" readonly value="我要使用注册手机发送短信">
            </td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td  colspan="3"><span style="font-size: 12px; color: #1296db;">《新浪网络服务使用协议》</span></td>
        </tr>
        
        <tr>
            <td>&nbsp;</td>
            <td rowspan="3" colspan="3"><span style="font-size: 12px; color: #1296db;">《新浪个人信息保护政策》</span></td>
            <td colspan="2">&nbsp;</td>
        </tr>
    </tbody>
    </table>
    </div>
    <div class="footer">
        <table style="background-color: white;">
            <tr>
                <td><span style="font-size: 10px; color: #1296db;">新浪简介</span></td>
                <td><span style="font-size: 10px; color: #1296db;">About Sina</span></td>
                <td><span style="font-size: 10px; color: #1296db;">广告服务</span></td>
                <td><span style="font-size: 10px; color: #1296db;">联系我们</span></td>
                <td><span style="font-size: 10px; color: #1296db;">招聘信息</span></td>
                <td><span style="font-size: 10px; color: #1296db;">网站律师</span></td>
                <td><span style="font-size: 10px; color: #1296db;">STNA English</span></td>
                <td><span style="font-size: 10px; color: #1296db;">注册</span></td>
                <td><span style="font-size: 10px; color: #1296db;">产品答疑</span></td>

            </tr>
            <tr>
                <td colspan="9"><span style="font-size: 10px; color: #a9bfc9;">客服服务电话 400-052-0066 欢迎批评指正</span></td>
            </tr>
            <tr>
                <td colspan="9"><span style="font-size: 10px; color: #a9bfc9;">copyright &copy;1996-2020 STNT copyrightion,All Rights Resenved 新浪公司</span> 
                    <span style="font-size: 10px; color: #1296db;">版权所有</span></td>
            </tr>
        </table>
    </div>
   </form>
</body>
</html>

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值