Notice that in the above example, we also changed what was written on our button using the value attribute. This can be changed to any value you wish.
HTML - Form Submission - Action
Submission buttons send form data to whatever action has been designated by the action attribute of the encapsulating <form> element. We learned about the action attribute in our HTML Forms lesson.
If you've been following along, we've also been using the deprecated mailto action to send form data to our default email client. This will allow us to get a sense of how form values are transferred to an action.