<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
</head>
<body>
<table border="0" width="500px" bgcolor="#f2f2f2f2f2">
<tr>
<td align="middle" colspan="2">
<h1>用户注册</h1>
</td>
</tr>
<tr>
<td align="right">用户名</td>
<td><input type="text" name="username" maxlength="6" placeholder=""></td>
</tr>
<tr>
<td align="right">密码</td>
<td><input type="password" name="password" value="" /></td>
</tr>
<tr>
<td align="right">性别</td>
<td><input type="radio" value="男" name="gender" checked />男
<input type="radio" value="女" name="gender" />女
</td>
</tr>
<tr>
<td align="right">爱好</td>
<td><input type="checkbox" name="fav" value="bk">写作
<input type="checkbox" name="fav" value="sing">听音乐
<input type="checkbox" name="fav" value="jump">体育
</td>
</tr>
<tr>
<td align="right">省份</td>
<td><select name="address">
<option value="陕西省">陕西</option>
<option value="兰州">兰州</option>
<option value="安徽">安徽</option>
</select></td>
</td>
</tr>
<br />
<td align="right">自我介绍</td>
<td><textarea name="comment" rows="5" cols="30" placeholder=""></textarea></td>
<br />
<tr>
<td align="center" colspan="2"><input type="submit">
<input type="reset">
</td>
</tr>
</table>
</body>
</html>
以上为用户注册代码
以下为用户注册页面的网页