任务如图:
<html>
<head>
<meta charest="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<table width="300px" border="1">
<tr bgcolor="grey">
<td align="center">用户注册</td>
</tr>
</table>
<table width="300px" border="1">
<tr>
<td width="100px" align="right">用户名</td>
<td align="left"><input type="text" placeholder="请输入姓名" name="username"></td>
</tr>
<tr>
<td align="right">密码</td>
<td align="left"><input type="password" name="password"></td>
</tr>
<tr>
<td align="right">性别</td>
<td align="left"><input type="radio" name="sex" value="nan">男<input type="radio" name="sex" value="nv">女</td>
</tr>
<tr>
<td align="right">爱好</td>
<td align="left"><input type="checkbox" name="hobby">写作
<input type="checkbox" name="hobby">听音乐
<input type="checkbox" name="hobby">体育</td>
</tr>
<tr>
<td align="right">省份</td>
<td align="left"><select name="city">
<option value="北京" selected>北京</option>
<option value="上海">上海</option>
<option value="广州">广州</option>
<option value="深圳">深圳</option>
</select></td>
</tr>
<tr>
<td align="right">自我介绍</td>
<td align="left"><textarea name="ziwojieshao"cols="30" rows="5" placeholder="请介绍一下你自己"></textarea></td>
</tr>
</table>
<table weidth="600px" border="1">
<tr bgcolor="grey">
<td><button>提交</button></td>
<td><input type="reset"></td>
</tr>
</table>
</body>
</html>