<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>用户注册</title>
</head>
<body>
<form action="https://www.baidu.com" method="post">
<table border="1px" height="700px" width="600px" align="center" cellspacing="0px" >
<tr >
<td colspan="2" align="center" bgcolor="gray">用户注册</td>
<!-- <td></td> -->
</tr>
<tr>
<td align="right">用户名</td>
<td><input type="text" name="username" id="username" value=""></td>
</tr>
<tr>
<td align="right">密码</td>
<td><input type="password" name="userpass" id="userpass" value=""></td>
</tr>
<tr>
<td align="right">性别</td>
<td><input type="radio" name="sex" value="1" checked>男
<input type="radio" name="sex" value="0">女</td>
</tr>
<tr>
<td align="right">爱好</td>
<td>
<input type="checkbox" name="like">写作
<input type="checkbox" name="like">听音乐
<input type="checkbox" name="like">体育
</td>
</tr>
<tr>
<td align="right">省份</td>
<td>
<select name="province">
<option value="shaanxi">陕西省</option>
<option value="shanx">山西省</option>
</select>
</td>
</tr>
<tr>
<td align="right">自我介绍</td>
<td><textarea name="intro" cols="25" role="5" placeholder="这个家伙什么也没留下"></textarea></td>
</tr>
<tr>
<td align="center" colspan="2">
<button type="submit">提交</button>
<button type="reset">重置</button>
</td>
<!-- <td></td> -->
</tr>
</table>
</form>
</body>
</html>