总结一下input的type类型:
<input type="button"/>普通按钮
<input type="submit"/>提交按钮
<input type="reset"/>重置按钮
<input type="text"/>文本框
<input type="password"/>密码
<input type="radio"/>单选框
<input type="checkbox"/>多选(复选)
<input type="color"/>颜色(html5新增的,IE不兼容)
<input type="date"/>日期(html5新增的,IE和火狐不兼容)
<!DOCTYPE html>
<html><head>
<meta charset="utf-8" />
<title></title>
</head>
<body>
<h3>欢迎注册本网站</h3>
<form>
<p>用户名:<input type="text" value="默认值"></p><p>密码:<input type="password"></p><p>性别:<input type="radio" name="xingbie">男<input type="radio" name="xingbie">女<input type="radio" name="xingbie">保密</p><p>学历:<input type="radio" name="xueli">小学<input type="radio" name="xueli">初中<input type="radio" name="xueli">高中<input type="radio" name="xueli">大学</p><p>爱好:<input type="checkbox" name="aihao">睡觉<input type="checkbox" name="aihao">吃饭<input type="checkbox" name="aihao">羽毛球<input type="checkbox" name="aihao">乒乓球<input type="checkbox" name="aihao">篮球<input type="checkbox" name="aihao">打豆豆</p><p>你喜欢的颜色:(IE不兼容,火狐兼容)<input type="color"></p><p>你的生日:(IE和火狐不兼容)<input type="date">
</p>
<p>普通按钮:
<input type="button" value="普通按钮">
</p>
<p>提交按钮:
<input type="submit"></p>
<p>重置按钮:
<input type="reset" value="重置按钮">
</p>
</form>
</body>
</html>