HTML5
Exercise 12 / 15
Basic Forms
Medium
18 points
Create a form with a text field (name), an email field, and a submit button. Use the <form>, <input>, <label> and <button> tags.
HTML forms allow you to collect user data. <form> contains the fields, <label> improves accessibility, <input> creates the fields (type="text", type="email"), and <button type="submit"> submits the form. The for attribute in <label> must match the input id.
Well done! 🎉
Your answer is correct! You earned 18 points.
Not quite...
Try again! You can do it.
Your code
HTML5
Result