Form Labels: the role of form labels is used to submit data to the server.
The root tag of the form label is the <form> tag
Common Properties:
Action: This property is the address used to specify the submission data.
Method: Specifies how the form is submitted.
Get: The default use of the submission method. The submitted data is displayed on the address bar.
Post: The submitted data is not displayed on the address bar.
<form action= "http://www.baidu.com" method= "POST" >
<!--text input box line-and-
User name: <input name= "UserName" type= "text"/><br/>
<!--Password Box--
Password: <input name= "password" type= "password"/><br/>
<!--Radio Box--
Gender: Male <input checked= "true" value= "man" name= "Sex" type= "Radio"/> Female <input name= "sex" value= "Woman" type= "Radio" /><br/>
<!--drop-down box--
Cities from: <select name= "City" >
<option value= "BJ" > Beijing </option>
<option value= "SH" > Shanghai </option>
<option value= "GZ" > Guangzhou </option>
<option value= "sz" > Shenzhen </option>
</select><br/>
<!--check box check boxes for the same group Name property values are consistent--
Hobbies: Java <input value= "java" name= "Hobit" checked= "Checked" type= "checkbox"/>javascript <input type= " CheckBox "value=" JavaScript "name=" Hobit "/>android <input value=" android "Name=" Hobit "type=" checkbox "/> <br/>
<!--file Upload box--
Head Photo: <input name= "image" type= "file"/><br/>
Personal Profile:
<!--text fields--
<textarea name= "Intro" rows= "Ten" cols= "></textarea><br/>"
<!--submit Button--
<input type= "Submit" value= "register"/>
<!--reset button--
<input type= "reset" value= "reset"/>
</form>
05.html Learning-Forms