Form:
The media that submits data to the server through the browser.
<form action= "" method= "Get/post" ></form>
Get commits have a length limit
Post submission no length limit
Generally used post
Form elements: 12
1. Text class
1). <input type= "text" value= "" >-text Box
Enter the content in the text box ....
2). Password-Password box
3).<textarea></textarea>-Text field
You can enter multiple lines of content.
4). Hidden-Hidden fields
Inside can also input content, but is not to show people, is used for computer program to see.
2. Button class
Button - Normal Press Twist
Submit-Commit button
If the submit button inside the "submit" two words can be used value= "input changed content", which can be used.
Submit the contents of the form to the server
Reset-Reset button
The default is to reset the two words, which is the role of emptying the form inside the contents of the form.
Image-Picture button = Submit button
The same as the submit button above.
3. Select Class
Radio-radio button
checkbox-check button, multi-select button
<select>-drop-down list
<option></option>
This is the way it works:
</select>
File-Document Selection
Run like this:
Common code elements for HTML forms