<html>
<head>
<meta charset="UTF-8">
<title>实现表单注册</title>
</head>
<body>
<font size="4" color="#FF0000" face="arial">姓名</font> <input type="text" name="username" value="hiki" maxlength="6" placeholder="请输入名称" /><br />
密码: <input type="password" name="password" required="required" maxlength="6" placeholder="请输入密码"/><br />
确认密码: <input type="password" name="repassword" required="requires" placeholder="请再次确认密码" /><br />
性别: <input type="radio" name="sex" value="男" checked="checked" />男
<input type="radio" name="sex" value="女" />女<br />
爱好:<input type="checkbox" name="hobby" value="打代码" />打代码
<input type="checkbox" name="hobby" value="钓鱼" checked="checked" />钓鱼<br />
头像: <input type="file" name="file" /><br />
自我介绍:<input type="textarea" name="zwjs" /><br />
籍贯:<select name="province">
<option>--请选择--</option>
<option selected="selected">--江西--</option>
<option>--北京--</option>
</select><br />
<input type="submit" value="提交" /><br />
<input type="button" value="普通按钮" /><br />
<input type="reset" />
</body>
</html>