input的type属性
<form action="" method="get">
<label>普通input:</label>
<input type="text"><br />
<label>多选框:</label>
<input name="a" type="checkbox"><br />
<input name="a" type="checkbox"><br />
<input name="a" type="checkbox"><br />
<label>单选框:</label>
<input name="b" type="radio"><br />
<input name="b" type="radio"><br />
<input name="b" type="radio"><br />
<label>数字:</label>
<input type="number"><br />
<label>拾色器:</label>
<input type="color"><br />
<label>日期+时间:</label>
<input type="datetime-local"><br />
<label>日期:</label>
<input type="date"><br />
<label>月份:</label>
<input type="month"><br />
<label>时间:</label>
<input type="time"><br />
<label>周:</label>
<input type="week"><br />
<label>email:</label>
<input type="email"><br />
<label>文件:</label>
<input type="file"><br />
<label>hidden:</label>
<input type="hidden"><br />
<label>image:</label>
<input type="image"
src="https://confluence.nexttao.com.cn/s/39ieod/8703/51…images/atlassian/atlassian-horizontal-neutral.svg"><br />
<label>密码:</label>
<input type="password"><br />
<label>电话:</label>
<input type="tal"><br />
<label>搜索:</label>
<input type="search"><br />
<label>搜索:</label>
<input type="search"><br />
<label>url:</label>
<input type="url"><br />
<label>范围组件:</label>
<input type="range"><br />
<label>按钮:</label>
<input type="button" value="按一下"><br />
<label>重置:</label>
<input type="reset"><br />
<label>提交:</label>
<input type="submit"><br />
</form>