Form elements are types of methods used when the site visitors input data to the form. The input data is transmitted to the Web server and processed by a CGI for further actions. Each type of form element provides different functions for others.
Types of form Elements:
1. One-line text box: Used to allow the site visitor to enter a small amount of text in a form.2. Multi-line text box: Used to let the site visitor enter more text than would fit in a one-line text box.
3. Check box: Used to let site visitors select or deselect an option in a form.
4. Radio button: Used when the site visitor must select only one item among two or more choices.
5. Drop-down list: Used in a form to let the site visitor select an item from a list.
6. Push button: Used to let the site visitor submit a form, clear a form, or submit a value to the web server.
7. Image button: Used to get the coordinate information of a clicked position.
8. Hidden form field: Used for sending a value to the Web server while keeping the form invisible to site visitors (The hidden form field is invisible to the site visitors).