其他分享
首页 > 其他分享> > 小白学习html&css一些笔记——3.案例_注册页面(html)

小白学习html&css一些笔记——3.案例_注册页面(html)

作者:互联网

在这里插入图片描述

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="#" method="post">
    <table border="1" align="center" width="40%">
        <tr>
            <td><label for="username">用户名</label></td>
            <td><input type="text" name="username" placeholder="请输入用户名" id="username"></td>
        </tr>

        <tr>
            <td><label for="password">密码</label></td>
            <td><input type="password" name="password" placeholder="请输入密码" id="password"></td>
        </tr>

        <tr>
            <td><label for="email">Email</label></td>
            <td><input type="email" name="email" placeholder="请输入Email" id="email"></td>
        </tr>

        <tr>
            <td><label for="name">姓名</label></td>
            <td><input type="text" name="name"  placeholder="请输入真实姓名" id="name"></td>
        </tr>

        <tr>
            <td><label for="tel">手机号</label></td>
            <td><input type="text" name="tel" placeholder="请输入手机号" id="tel"></td>
        </tr>

        <tr>
            <td>性别</td>
            <td><input type="radio" name="gender" >男
                <input type="radio" name="gender" >女</td>
        </tr>

        <tr>
            <td><label for="birthday">出生日期</label></td>
            <td><input type="date" name="birthday" placeholder="请输入出生日期" id="birthday"></td>
        </tr>

        <tr>
            <td><label for="checkcode">验证码</label></td>
            <td><input type="text" name="checkcode" placeholder="请输入验证码" id="checkcode">
            <img src="img/verify_code.jpg" ></td>
        </tr>

        <tr>
            <td colspan="2" align="center"><input type="submit" name="regist" value="注册"></td>
        </tr>
    </table>
</form>

</body>
</html>

标签:用户名,Title,html,出生日期,Email,css,页面
来源: https://blog.csdn.net/NiaYooop/article/details/115058966