<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>注册页面</title>
</head>
<body>
<!-- <caption align="center" >注册页面</caption>-->
<form action="#" method="post">
<table border="1" cellspacing="0" cellpadding="0" align="center" width="500px">
<tr>
<td>
<label for="username">用户名:</label>
</td>
<td>
<input type="text" name="username" id ="username" placeholder="请输入用户名">
</td>
</tr>
<tr>
<td>
<label for="password">密码:</label>
</td>
<td>
<input type="password" name="password" id ="password" placeholder="请输入密码">
</td>
</tr>
<tr>
<td>
<label for="email">邮箱:</label>
</td>
<td>
<input type="email" name="email" id ="email" placeholder="请输入邮箱">
</td>
</tr>
<tr>
<td>
<label for="name">姓名:</label>
</td>
<td>
<input type="name" name="name" id ="name" placeholder="请输入姓名">
</td>
</tr>
<tr>
<td>
<label for="tel">手机号:</label>
</td>
<td>
<input type="text" name="tel" id ="tel" placeholder="请输入手机号">
</td>
</tr>
<tr>
<td>
<label >性别:</label>
</td>
<td>
<input type="radio" name="gender" value="male" checked="checked">男
<input type="radio" name="gender" value="female" >女
</td>
</tr>
<tr>
<td>
<label for="birthday">出生日期:</label>
</td>
<td>
<input type="date" name="birthday" id="birthday"/>
</td>
</tr>
<tr>
<td>
<label for="checkcode">
验证码:
</label>
</td>
<td><input type="text" name="checkcode" id="checkcode">
<img src="img/verify_code.jpg">
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="注册" />
</td>
</tr>
</table>
</form>
</body>
</html>
转载于:https://www.cnblogs.com/newcityboy/p/11374306.html