Form Submission
Now we are able to create a form with various inputs. The last thing we need to do is submit the form to receive the data.
We can submit the form using an input
element with the attribute type="submit"
. It is also recommended to add the value
attribute with the text for the button.
<input type="submit" value="Submit" />
This code will be displayed as follows:
Instructions
In the form, create an input
element with the attribute type="submit"
and the value
attribute set to Submit
.
Start programming for free
7/9