笔记- 注册页面练习

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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>注册页面两种方式</title>
</head>

<body>
    <!-- form版 -->
    <h5>青春不常在,抓紧搞外快</h5>
    <form action="">
        性别:
        <input type="radio" name="sex" id="nan"><img src="images/man.jpg" alt=""><label for="nan">男</label>
        <input type="radio" name="sex" id="nv"><img src="images/women.jpg" alt=""><label for="nv">女</label>
        <br>
        生日:<select name="year" id="">
            <option value="">1999</option>
            <option value="" selected="selected">2000</option>
            <option value="">2001</option>
            <option value="">2002</option>
        </select>
        <select name="mon" id="">
            <option value="">1月</option>
            <option value="">2月</option>
            <option value="">3月</option>
        </select>
        <select name="day" id="">
            <option value="">1日</option>
            <option value="">2日</option>
            <option value="">3日</option>
        </select><br>
        所在地区:<input type="text"><br>
        婚姻状况:<input type="radio" name="mar" id="wei"><label for="wei">未婚</label>
        <input type="radio" name="mar" id="yi"><label for="yi">已婚</label>
        <input type="radio" name="mar" id="li"><label for="li">离婚</label><br>
        学历:<input type="text"><br>
        喜欢的类型:<input type="checkbox" name="like">妩媚的
        <input type="checkbox" name="like">可爱的
        <input type="checkbox" name="like">小鲜肉
        <input type="checkbox" name="like">老腊肉
        <input type="checkbox" name="like">都喜欢<br>
        自我介绍:<textarea name="" id="" cols="15" rows="2">自我介绍</textarea>
        <br>
        <input type="submit" value="免费注册"><br>
        <input type="radio">我同意注册条款和会员加入标准<br>
        <a href="#">我是会员,立即登录</a><br>
        <h4>我承诺</h4>
        <ul>
            <li>年满18岁、单身</li>
            <li>抱着严肃的态度</li>
            <li>真诚搞钱!</li>
        </ul>
    </form>


    <!-- table版 -->
    <h5>青春不常在,抓紧搞外快</h5>
    <table width="560">
        <!-- 第一行 -->
        <tr>
            <td>性别:</td>
            <td><input type="radio" name="sex" id="nan2"><img src="images/man.jpg" alt=""><label for="nan2"> 男 </label>
                <input type="radio" name="sex" id="nv2"><img src="images/women.jpg" alt=""><label for="nv2"> 女 </label>
            </td>
        </tr>
        <!-- 第二行 -->
        <tr>
            <td>生日:</td>
            <td>
                <select name="year" id="">
                    <option value="">--请选择年份--</option>
                    <option value="">1999</option>
                    <option value="">2000</option>
                    <option value="">2001</option>
                    <option value="">2002</option>
                </select>
                <select name="mon" id="">
                    <option value="">--请选择月份--</option>
                    <option value="">1月</option>
                    <option value="">2月</option>
                    <option value="">3月</option>
                </select>
                <select name="day" id="">
                    <option value="">--请选择日期--</option>
                    <option value="">1日</option>
                    <option value="">2日</option>
                    <option value="">3日</option>
                </select>
            </td>
            <br>
        </tr>
        <!-- 第三行 -->
        <tr>
            <td>
                所在地区:
            </td>
            <td>
                <input type="text" value="云南省大理市">
            </td>
        </tr>
        <!-- 第四行 -->
        <tr>
            <td>婚姻状况:</td>
            <td>
                <input type="radio" name="mar" id="wei2" checked="checked"><label for="wei2">未婚</label>
                <input type="radio" name="mar" id="yi2"><label for="yi2">已婚</label>
                <input type="radio" name="mar" id="li2"><label for="li2">离婚</label>
            </td>
        </tr>
        <tr>
            <td>学历:</td>
            <td>
                <input type="text" value="幼儿园">
            </td>
        </tr>
        <tr>
            <td>喜欢的类型:</td>
            <td>
                <input type="checkbox" name="like" id="wu"><label for="wu">妩媚的</label>
                <input type="checkbox" name="like" id="ke"><label for="ke">可爱的</label>
                <input type="checkbox" name="like" id="xiao"><label for="xiao">小鲜肉</label>
                <input type="checkbox" name="like" id="lao"><label for="lao">老腊肉</label>
                <input type="checkbox" name="like" id="dou" checked="checked"><label for="dou">都喜欢</label>
            </td>
        </tr>
        <tr>
            <td>自我介绍:</td>
            <td>
                <textarea name="" id="" cols="15" rows="2">自我介绍</textarea>
            </td>
        </tr>
        <tr>
            <td></td>
            <td><input type="submit" value="免费注册"></td>
        </tr>
        <tr>
            <td></td>
            <td><input type="checkbox" checked="checked">我同意注册条款和会员加入标准<br></td>
        </tr>
        <tr>
            <td></td>
            <td><a href="#">我是会员,立即登录</a></td>
        </tr>
        <tr>
            <td></td>
            <td>
                <h4>我承诺</h4>
                <ul>
                    <li>年满18岁、单身</li>
                    <li>抱着严肃的态度</li>
                    <li>真诚搞钱!</li>
                </ul>
            </td>
        </tr>
    </table>
</body>

</html>

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值