web2前端

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form action="#">
        <h1 style="text-align:center;">用户注册</h1>
             <table align="center" cellspacing="0">
                <tr>
                    <td style="text-align: center;">用&nbsp;户&nbsp;名</td>
                    <td>
                <input type="text" name="username">
                    </td>
                </tr>
                <br/>
                <tr>
                    <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
                    <td>
                <input type="text" name="username" disabled placeholder="zhangsan">
                    </td>
                </tr>
                <br/>
            </table>
            <table align="center" style="margin-top:18px">
                <tr>
                    <td style="text-align: center;">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码</td>
                    <td>
                <input type="password" name="pwd">
                    </td>
                </tr>
            </table>
             <p style="text-align:center;">性别 男<input type="radio" name="sex"> 女<input type="radio" name="sex"></p>
             <p style="text-align:center;">爱好<input type="checkbox" name="hobby">唱<input type="checkbox" name="hobby">跳<input type="checkbox" name="hobby">Rap<input type="checkbox" name="hobby">打篮球</p>    
             <p style="text-align:center;">邮箱<input type="text" name="username" placeholder="请输入你的邮箱"></p>
             <p style="text-align:center;">用户头像<input type="file" name="files"></p>
             <p style="text-align:center;">家庭住址<select name="city">
                <option value="请选择你的住址">请选择你的住址</option>
                <option value="南京江宁区">南京江宁区</option>
                <option value="南京浦口区">南京浦口区</option>
                <option value="南京鼓楼区">南京鼓楼区</option></select></p>
             <p style="text-align:center;">收货地址<select name="city">
                <option value=""></option>
                <option value="广州">广州</option>
                <option value="深圳">深圳</option>
                <option value="重庆">重庆</option>
                <option value="南京">南京</option></select></p>   
             <p style="text-align:center;">建议或意见<textarea cols="30px" rows="2px" id="user" name="user"placeholder="你的建议或意见"></textarea></p>
             <p style="text-align:center;">选择你喜欢的颜色<input type="color">注册时间<input type="datetime-local"></p>
             <p style="text-align:center;"><button>注册</button> <button>重置</button></p>
        </form>
    <hr/>
</body>
</html>

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值