<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>表单练习</title>
</head>
<body>
<form action="#" method="get">
<table border="1" align="center">
<tr text-align="center">
<td><label for="username">用户名:</label></td>
<td><input type="text" name="username" id="username"></td>
</tr>
<tr>
<td><label for="password">密码:</label></td>
<td><input type="password" name="password" id="password"></td>
</tr>
<tr>
<td><label for="email">E-mail:</label></td>
<td><input type="email" id="email" name="email"></td>
</tr>
<tr>
<td><label for="name">姓名:</label></td>
<td><input type="text" name="name" id="name"></td>
</tr>
<tr>
<td><label for="tel">手机号:</label></td>
<td><input type="text" name="tel" id="tel"></td>
</tr>
<tr>
<td>性别:</td>
<td><input type="radio" name="gender" value="male">男
<input type="radio" name="gender" value="female">女
</td>
</tr>
<tr>
<td>出生年月:</td>
<td><input type="date" name="birthday"></td>
</tr>
<tr>
<td>验证码:</td>
<td><input type="text" name="checkcode"></td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="注册">
</td>
</tr>
</table>
</form>
</body>
</html> |
|