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