HTML form submissions, which values of which tags will be submitted to the server?
1, only input, textarea, select three types of labels. Only these label users may modify the values,<label>, <p>, <font> and other labels for display purposes only, without the need to submit to the server. When Input=submit, only the value of the button clicked will be submitted;
2, the input tag has title, type, disabled, value and other attributes, but only the Value property values will be submitted to the server, the other properties are for display purposes, the user can not modify;
3. The label must have the name attribute set. If you want to submit the value of a label to the server, you must set the Name property for the label and submit it to the server as a "Name=value" key-value pair. The name is for the server, and the ID is for the DOM. For RadioButton, the same name as a group, the selected RadioButton value is submitted to the server;
4. The label to be submitted must be placed in the form label. Only tags placed in the form tag may be submitted to the server, and input tags outside of the form will be ignored.
HTML form submission