1, the Get post way to submit the different
Get: Data is placed at the back of the URL and used to connect
Cache information is kept on the client, not secure
Address bar can have limited data length, 2-4k, data size limit
Post: Data is submitted in an implicit manner
Do not preserve cache information
Unlimited data size
At the same time there are multiple request parameters, between the request parameters and Parameters &
2, input time inadvertently small details
Text password
Name if there is no Name attribute, then the value of this form field will not be submitted
If the form value is empty then the pwd= will still be committed, we will get an empty string in the background
You can set the default value by using the Value property
Radio
Grouped by name, the name attribute within a group must be the same
Submit value by default when submitting values instead of plain text
If the Value property is not set, the default commit on
The Checked property can be set to the default value if multiple, the last one takes effect
CheckBox
Also submit all the items you have selected
Fav=4&fav=on
If the Value property is not set then the on is committed, not recommended
Select
If there is no value attribute, then it will use his Text property
Selected setting default options
TextArea
Default values are written directly between labels
Reset
Return to default value
Image
Click the same as the submit effect