1 <formAction=""Method= "Get">2 <!--3 placeholder= "Please enter text" Display prompt4 randonly= "Randonly" cannot be re-written5 disabled= "Disabled" Disable dimmed6 -7 <inputtype= "text"name= "user_name"placeholder= "Please enter text"value= "text box"ReadOnly= "ReadOnly"Disabled= "Disabled"/>8 <!--9 Hide BoxTen type= "hidden" hidden. One - A <inputtype= "hidden"name= "id"value= "20160800612" /> - <!-- - Password Box the type= "Password" password does not appear - - - <inputtype= "Password"name= "Password"value= "123456"Disabled= "Disabled"/> - + <!-- - Testarea set width with cols set length with rows + - A <BR/> at <textareaname= "text"rows= "5"cols= "5"></textarea> - <!--Multi-Select box - <select> - <option></option> - <option></option> - ... in </select> - selected= "selected" Default selection to + - - <Selectname= "Grade"> the <optionvalue= "1">First-year</option> * <optionvalue= "2"selected= "Selected">Second Grade</option> $ <optionvalue= "3">Third Grade</option>Panax Notoginseng </Select><BR/> - <!-- the id= "male"/><label for= "male" > Male </label> Click Male will also choose + A - the <inputtype= "Radio"value= "0"name= "Gender"ID= "Male"/><label for= "Male">Man</label> + <inputtype= "Radio"value= "1"name= "Gender"ID= "female"/><label for= "female">Woman</label><BR/> - $ <!-- $ type= "file" to get files - multiple= "multiple" to get multiple files - - the <inputtype= "File"name= "FileGet"multiple= "multiple"/> - <!--Wuyi type= "checkbox" Multi marquee the checked= "Checked" is selected by default - - Wu - <inputtype= "checkbox"name= "Hobby"value= "1"ID= "Basketball"checked= "Checked"/><label for= "Basketball">Basketball</label> About <inputtype= "checkbox"name= "Hobby"value= "2"ID= "Football"><label for= "Football">Football</label> $ <inputtype= "checkbox"name= "Hobby"value= "3"ID= "Pingpong" /><label for= "Pingpong">Table tennis</label> - <BR/> - - <!-- A type= "reset" to reset the operation + - the <inputtype= "Reset"value= "Reset" /> - <inputtype= "Submit"value= "Submit" /> $ </form>
Summary of common tags in html--form forms