<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>表单</title>
</head>
<body>
<center>
<form action="./a.jsp" method="post">
用户名:<input name="username" type="text" maxlength="20" /><br />
密码: <input name="pwd1" type="password" size="20" maxlength="20" /><br />
确认密码:<input name="pwd2" type="password" maxlength="20" /> <br />
性别: <input name="sex" type="radio" value="男" checked="checked" />男
<input name="sex" type="radio" value="女" /> 女<br />
爱好: <input name="like" type="checkbox" value="体育" />体育
<input name="like" type="checkbox" value="旅游" />旅游
<input name="like" type="checkbox" value="看书" />看书<br />
E-mail:<input name="email" type="text" size="50" /><br />
<input name="submit" type="submit" value="确认保存" />
<input name="reset" type="reset" value="重新填写" />
<input type="button" value="保存" />
</form>
</center>
</body>
</html>