Output<\/strong>:<\/p>\n
<\/p>\n
So we have a simple form with simple input as the First Name. The name attribute is used along with the form element to declare input as the First Name. This attribute will be useful when we will send the form data over the network using HTTP. The attribute name and its value will be added to the HTTP Request when we send the request. This information will be used for processing data at the server-side.<\/p>\n
2. action attribute<\/h4>\n
Let’s add the submit button in our example so that the form can be submitted.<\/p>\n
Code<\/strong>:<\/p>\n