HTML Form
- ✔️Create a semantic HTML formLearn how to create a form in HTML using the <form> tag.
Form structure
To create a form in HTML, you need to use the <form>
tag.
The <form>
tag is used to create an HTML form for user input.
The form can contain input elements like text fields, checkboxes, radio-buttons, submit buttons, and more.
The Task form will have the following fields:
- Task title
- Task description
The form also includes a submit button to create the new task based on the form values.
🎓 Instructions
-
Update the
src/app/task-form/task-form.component.html
file.
✔️ What you learned
In this chapter, you learned how to create a basic form in HTML. This HTML interlude wil be bound to Angular in the next steps.