form表单元素(12个)

  文本类:

文本框    <input type = "text" />

密码框    <input type = "password" />

隐藏域    <input type = "hidden" />

文本域    <textarea></textarea>

 

按钮类:

普通按钮  <input type = "button" value  = "text" />

提交按钮  <input type = "submit" value = "提交" />

重置按钮  <input type = "reset" value = "重置" />

图片按钮  <input type = "image" />

 

选择类:

<input type = "radio" value = "1" id = "ra1">

<label for = "ra1">男</label>

 

<input type = "checkbox" value = "" id = ""><label  for = ""></label>

 

<select>

      <option vale = "1"></option>

</select>

 

<input type = "file" />

posted on 2017-08-04 11:02  homie  阅读(7099)  评论(0编辑  收藏  举报