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" />


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM