/Responsive Web Design

20. Add a Submit Button to a Form

Let's add a submit button to your form. Clicking this button will send the data from your form to the URL you specified with your form's action attribute.

Here's an example submit button:

<button type="submit">this button submits the form</button>

Challenge

Add a button as the last element of your form element with a type of submit, and Submit as its text.


Prev: 19. Create a Form Element

Next: 21. Use HTML5 to Require a Field