1. Form tags:<form> content </form>
Properties: Name (form name)
Method (transfer Data mode):
get--appends the contents of the form to the URL address, so the length of the submitted content is limited, not exceeding 8,192 characters, and is not confidential
post--the data in the form into the body of the form, which is transferred to the server for processing, with no data size limit
Action: The URL address of the handler for the form data and, if blank, the URL address of the current document,
If you do not need to use the Action property in the form, you also specify that its property is "no"
Enctype: Setting the encoding of form data
Target: Similar to hyperlinks, used to specify the target window
2. Text field and password:<input> Mark single Mark
Properties: Type:text (Text input box), Password (password input field)
Name: Names
Value: Initialize value
Maxlenght: The maximum number of characters allowed to enter
3. Submit, Reset, Normal button
Submit <input Type= "Submit" >
Reset <input type= "reset" >
Normal <input type= "button" >
4. Radio Box and check box
Radio <input type= "Radio" >
Check <input type= "checkbox" >
5. Hidden fields
<input type= "hidden" >
6. Multiline Text fields <textarea>
The rows and Cols properties are used to specify the number of rows and columns to display
7. Menu drop-down list field <select>
Format:
<Select> <optionvalue= "Volvo">Volvo</option> <optionvalue= "Saab">Saab</option> <optionvalue= "Opel">Opel</option> <optionvalue= "Audi">Audi</option></Select>
<option> Tag: Value (assign value to option)
Selected (default option)
HTML Knowledge-Forms