综合案例二 注册页面

表格标签、列表标签、表单标签

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>会员注册</title>
</head>
<body>
    <h4>LET'S FALL IN LOVE!</h4>

    <!-- 以表格为框架,填充表单和列表标签 -->
    <form action="">
    <table width="800">
        <tr>
            <td>Gender</td>
            <td>
                <input type="radio" name="sex" id="m"><label for="m"><img src="man.jpg" alt=""> Male</label>
                <input type="radio" name="sex" id="f"><label for="f"><img src="women.jpg" alt=""> Female</label>
            </td>
        </tr>

        <tr>
            <td>Date of birth</td>
            <td>
                <select>
                    <option>YEAR</option>
                    <option>YEAR</option>
                    <option>YEAR</option>
                    <option>YEAR</option>
                    <option>YEAR</option>

                </select>

                <select>
                    <option>MON</option>
                    <option>JAN</option>
                    <option>FAB</option>
                    <option>MAR</option>
                    <option>APR</option>
                    <option>MAY</option>
                    <option>JUN</option>
                    <option>JUL</option>
                    <option>AUG</option>
                    <option>SEP</option>
                    <option>OCT</option>
                    <option>NOV</option>
                    <option>DEC</option>
                </select>

                <select>
                    <option>DAY</option>
                    <option>DAY</option>
                    <option>DAY</option>
                </select>
            </td>
        </tr>

        <tr>
            <td>Region</td>
            <td><input type="text" value="country and region"></td>
        </tr>

        <tr>
            <td>Marital status</td>
            <td>
                <input type="radio" id="ed" name="MS"><label for="ed">Married</label>
                <input type="radio" id="un" name="MS"><label for="un">Unmarried</label>
                <input type="radio" id="d" name="MS"><label for="d">Divorced</label>
            </td>
        </tr>

        <tr>
            <td>Education background</td>
            <td>
                <input type="text" value="collage">
            </td>
        </tr>

        <tr>
            <td>Interested type</td>
            <td>
                <input type="checkbox" id="straight"><label for="straight">straight</label>
                <input type="checkbox" id="homo"><label for="homo">homosexual</label>
                <input type="checkbox" id="young"><label for="young">younger</label>
                <input type="checkbox" id="old"><label for="old">mature</label>
                <input type="checkbox" id="same"><label for="same">peer</label>
            </td>
        </tr>

        <tr>
            <td>Self intruduction</td>
            <td>
                <textarea cols="30" rows="5">Introduce yourself</textarea>
            </td>
        </tr>

        <tr>
            <td></td>
            <td>
                <input type="submit" value="That's all. Submit!">
                <input type="reset" value="reset the form">
            </td>
        </tr>

        <tr>
            <td></td>
            <td>
                <input type="checkbox" checked="checked">I agree with all the policies and rules of being involved in the club as a member.
            </td>
        </tr>

        <tr>
            <td></td>
            <td>
                <a href="#">login as a member now!</a>
            </td>
        </tr>

        <tr>
            <td></td>
            <td>
                <h3>I promise</h3>
                <ul>
                    <li>I am singel and am an adault;</li>
                    <li>I am serious about the relationship;</li>
                    <li>I am looking for a partner sincerely.</li>
                </ul>
            </td>
        </tr>
    </table>

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值