<formAction= "Form_action.asp"Method= "Get"> <P>Name:<inputtype= "text"name= "FullName" /></P> <P>Email:<inputtype= "text"name= "Email" /></P> <inputtype= "Submit"value= "Submit" /></form>
Definition and usage
The name attribute specifies the names of the input elements.
The Name property is used to identify the form data that is submitted to the server, or to reference the form data through JavaScript on the client.
Note: Only form elements that have the Name property set can pass their values when the form is submitted
As the example above: at the back end he had an object that existed two properties for FullName and email corresponding to the name attribute in two input.
So we can pass the value to the back end of input.
Note: The value of the name attribute in input must be guaranteed to be consistent with the property name of the backend object before it can be passed.
The Name property of the input tag in HTML