<!DOCTYPE HTML>
<HTML>
<HEAD>
<meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
</HEAD>
<BODY>
<form action="http://www.baidu.com" method="post">
<table border="2" bordercolor="#FF1493" align="center"
cellspacing="0" bgcolor="#F5DEB3">
<caption><h1><font color="#FF1493">注册表单</font></h1></caption>
<tr>
<td>姓名:</td>
<td><input type="text" name="username" /></td>
</tr>
<tr>
<td>密码:</td>
<td><input type="password" name="password" /></td>
</tr>
<tr>
<td>确认密码:</td>
<td><input type="password" name="repassword"/></td>
</tr>
<tr>
<td>昵称:</td>
<td><input type="text" name="nickname"/></td>
</tr>
<tr>
<td>邮箱:</td>
<td>
<input type="text" name="email"/>
</td>
</tr>
<tr>
<td>头像:</td>
<td><input type="file" name="doc"/></td>
</tr>
<tr>
<td>性别:</td>
<td>
<input type="radio" name="gender" value="male"/>男
<input type="radio" name="gender" value="female"/>女
</td>
</tr>
<tr>
<td>爱好:</td>
<td>
<input type="checkbox" name="like" value="basketball" />篮球
<input type="checkbox" name="like" value="soccer"/>足球
<input type="checkbox" name="like" value="pingpang"/>乒乓球</td>
</tr>
<tr>
<td>所在城市:</td>
<td>
<select name="sel" >
<option value="tl">铁岭</option>
<option value="gz">广州</option>
<option value="bj">北京</option>
<option value="sy">沈阳</option>
</select>
</td>
</tr>
<tr>
<td>自我介绍:</td>
<td><textarea cols="40" rows="5">请输入个人描述!</textarea></td>
</tr>
<tr>
<td>验证码:</td>
<td>
<input type="text" name="valistr"/>
<img src="123.jpg" />
<input type="button" value="点我换一张"/>
</td>
</tr>
<tr>
<td colspan="2" align="center">
<input type="submit" value="提交"/>
<input type="reset" value="重置"/>
</td>
</tr>
<!--按钮:<input type="button" value="按钮"/><br/>
重置:<input type="reset" value="提交"/><br/>
不重要:<br/>
<!--<input type="image" src="image/2.jpg"/><br/>
<input type="hidden" value="111"><br/>-->
</table>
</form>
</BODY>
</HTML>