Input type Text input type text name Name

  • Slides: 23
Download presentation

Input type屬性 基本語法格式 值 Text <input type =“text” name =“Name” size =“Value”> Password <input

Input type屬性 基本語法格式 值 Text <input type =“text” name =“Name” size =“Value”> Password <input type =“password” name =“Name” size =“Value”> Checkbox <input type =“checkbox” name =“Name” checked value =“string”> Radio <input type =“radio” nam e=“Name” checked value =“string”> Hidden <input type =“hidden” name =“Name” value =“string”> Select (multiple表複 選,size表示顯示的項 目。) <input name = “Name” multiple size = “number”> option <option value = “item_Name”>選項名稱 </option> textarea <textarea name = “Name” rows = value cols = value wrap = off | virtual | physical value = “String”>