<!DOCTYPE html>
<html>
<head>
<title>练习4</title>
<meta charset="UTF-8"/>
</head>
<body>
<table border="1">
<tr>
<th>用户名</th>
<td><form><input type="text" name="username"/></form></td>
</tr>
<tr>
<th>密码</th>
<td><form><input type="password" name="pwd"/></form></td>
</tr>
<tr>
<th>性别</th>
<td><form>男<input type="radio" name="xb"value="0"/> 女<input type="radio" name="xb"value="1"/></form></td>
</tr>
<tr>
<th>从事行业</th>
<td><form><select name="sc" size="1"/>
<option value="0" selected="selected">计算机</option>
<option value="1">其他</option>
</select>
</form></td>
</tr>
<tr>
<th>自我介绍</th>
<td><form>自我介绍:<br><textarea name="zhaoshui"cols="30"row="60"></textarea></form></td>
</tr>
<tr>
<th><button>注册</button></th>
<td><button>清除</button></td>
</tr>
</table>
</body>
</html>
结果:
看完点个赞!!!