<!DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "Http://www.w3.org/TR/html4/loose.dtd "><HTML><Head><Metahttp-equiv= "Content-type"content= "text/html; CHARSET=GBK"><title>Insert Title here</title></Head><Body><form>Account:<inputtype= "text"name= "User"size= "Ten"><P>Password:<inputtype= "Password"name= "Password"size= "Ten"><P>Gender:<inputtype= "Radio"name= "Sex"value= "Man" >male<inputtype= "Radio"name= "Sex"value= "Women">Woman<P> <!--This property is labeled by name as the same set of buttons, but value means different values -Hobbies:<inputtype= "checkbox"name= "Aihao1"value= "AI">Travel<inputtype= "checkbox"name= "Aihao2"value= "book">Reading<inputtype= "checkbox"name= "Aihao3"value= "Ty" >Sports<P>your favorite sentence:<inputtype= "text"name= "Mingyan" ><P> <inputtype= "Submit"name= "Submit" > <inputtype= "Reset"name= "Reset" ><P> <inputtype= "hidden"name= "hidden"value= "A"><P>hidden hidden fields, user invisible elements. Pass a over, but you can't see it on the page .</form></Body></HTML>
Note: type = "" In the middle of the semicolon cannot have spaces. such as type = "Chckbox", the Chckbox is followed by two spaces, this will cause errors, may result in a text box appears
There are also two types that are not written because unfamiliar
Image Image button, you can specify the picture background as the button face;
File selection;
Available types for type in HTML