/Responsive Web Design

19. Create a Form Element

You can build web forms that actually submit data to a server using nothing more than pure HTML. You can do this by specifying an action on your form element.

For example:

<form action="/url-where-you-want-to-submit-form-data"></form>

Challenge

Nest your text field inside a form element, and add the action="https://freecatphotoapp.com/submit-cat-photo" attribute to the form element.


Prev: 18. Add Placeholder Text to a Text Field

Next: 20. Add a Submit Button to a Form