HTML5表单标签,与浏览者交互
1. Input type:
email url number range Date pickers search color
2.label for属性中的值 与相关空间的id属性值相同
<label for="控件id名称">
3.单选框 type="radio" 复选框 type="checkbox"
<input type="radio/checkbox" value="值" name="名称" checked="checked" />
4. select option创建下拉菜单
5. 提交按钮submit
<input type="submit" value="提交">
6.textarea文本域
<textarea name="" cols="" rows="">......</textarea>多行文本框 cols宽度, rows纵向行数
7.重置按钮,重置表单信息
<input type="reset" value="重置">