<html>
<body>
<form action="liushishi.jsp" method="post"
<table border= "1" align= "center">
<caption>用户注册 </caption>
<tr>
<td>用户名: </td>
<td> <input type="textfield" name="username">
</td>
</tr>
<tr>
<td>密码: </td>
<td> <input type="password" name="password">
</td>
</tr>
<tr>
<br>
<td>性别: </td>
<td>
<!--定义男性选择框-->
男<input type="radio"
name="gender" value="male"
<!--定义女性选择框-->
女<input type="radio" name="gender"
value="male"
</br>
</tr>
<!--定义爱好选择框,可多选-->
<tr>
<br>
<td>爱好:
</td>
<!--定义乒乓球选择框-->
乒乓球<input type="checkbox" name="hobby"
value="pingpang">,
<!--定义足球选择框-->
足球<input type="checkbox" name="hobby"
value="football">,
<!--定义篮球选择框-->
篮球<input type="checkbox" name="hobby"
value="basketball">
</br>
</tr>
<tr>
<br>
<td>个人介绍:</td>
<td><input type="textarea" name="inturoduction"
size="20"></td>
</br>
</tr>
<tr>
<br>
<td colspan="2"alig="center">
<input
type="submit" value="提交">
<input type="reset"
value="重置">
<br>
</td>
</tr>
</table>
</form>
</body>
</html>
原文地址:http://www.cnblogs.com/liuyu2014/p/3751254.html