简单的html注册页面,代码如下,效果如下
html
<!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="#" method="post">
<table cellpadding="0px" cellspacing="0px">
<tr>
<td colspan="3">
<font color="blue">会员注册</font> USER REGISTER
</td>
</tr>
<tr>
<td>用户名</td>
<td colspan="2">
<input type="text" placeholder="请输入用户名" name="username" size="30px">
</td>
</tr>
<tr>
<td>密码</td>
<td colspan="2">
<input type="password" placeholder="请输入密码" name="password" size="30px">
</td>
</tr>
<tr>
<td>确认密码</td>
<td colspan="2">
<input type="password" placeholder="请输入确认密码" name="repassword" size="30px">
</td>
</tr>
<tr>
<td>Email</td>
<td colspan="2">
<input type="email" placeholder="请输入你的邮箱" name="email" size="30px">
</td>
</tr>
<tr>
<td>姓名</td>
<td colspan="2">
<input type="text" placeholder="请输入你的姓名" name="name" size="30px">
</td>
</tr>
<tr>
<td>性别</td>
<td colspan="2">
<input type="radio" name="sex" id="male"><label for="male">男</label>
<input type="radio" name="sex" id="female" checked><label for="male">女</label>
</td>
</tr>
<tr>
<td>出生日期</td>
<td colspan="2">
<input type="date">
</td>
</tr>
<tr>
<td>验证码</td>
<td colspan="2">
<input type="text" name="checkcode" size="15px">
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="注册">
</td>
<td></td>
</tr>
</table>
</form>
</body>
</html>