HTML form is wrapped inside inside <form> and </form> tags.
Every element inside these tags is called the form element.
Forms are used to collect user input and store in a database.
They are the fields in which the user inputs the asked information.
There are many types of input elements specified using type attribute.
There are many things you will need to learn to create a desired html form. To simplify things I have divided the HTML form tutorial into 5 parts. We will be going through them one by one. This is to better understand all the form elements and attributes associated to them. These sections are-
- Form Attributes
- Types of input elements
- Attributes for input elements
- Buttons in Form
- Grouping form elements