1 <HTML>2 <Head>3 <title>New User Registration</title>4 <MetaCharSet= "Utf-8">5 <style>6 Li{7 List-style-type:None;8 }9 </style>Ten </Head> One <Body> A <Center> - <formAction="#"Method= "POST"name= "MyForm"> - <fieldset> the <legend>Registered users</legend> - <Center> - <ul> - <Li>User name:<inputname= "username"type= "text"maxlength= " the"></Li> + <Li>Dense Code:<inputtype= "Password"name= "Pwd1"size= " the"maxlength= " the"></Li> - <Li>Confirm Password:<inputtype= "Password"name= "Pwd2"size= " the"maxlength= " the"></Li> + <Li> AOf Don't:<inputtype= "Radio"name= "Sex"class= "Noborder"value= "Male"checked>Man at <inputtype= "Radio"name= "Sex"class= "Noborder"value= "female" >female - </Li> - <Li> -Hobby:<inputtype= "checkbox"name= "Hobby"value= "Sport">Sports - <inputtype= "checkbox"name= "Hobby"value= "Travel">Travel - <inputtype= "checkbox"name= "Hobby"value= "Listen to Music">Listening to music in <inputtype= "checkbox"name= "Hobby"value= "reading">Reading - </Li> to <Li>E-Mail:<inputtype= "text"name= "Email"size= " the"></Li> + <Li> - <inputtype= "Submit"class= "BTN"value= "OK and save"> the <inputtype= "Reset"class= "BTN"value= "Re-fill"> * <inputtype= "image"class= "BTN"value= "? Login"src= "Images/btn_jpg"> $ </Li>Panax Notoginseng </ul> - </Center> the </fieldset> + </form> A </Center> the </Body> + </HTML>
The results of the operation are as follows:
HTML Learning Simple Registration Form