Forms
A form is an area that can contain form elements.
Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form.
A form is defined with the <form> tag.
<form>
<input>
<input>
</form>
--------------------------------------------------------------------------------
Input
The most used form tag is the <input> tag. The type of input is specified with the type attribute. The most commonly used input types are explained below.
Text Fields
Text fields are used when you want the user to type letters, numbers, etc. in a form.
Radio Buttons
Radio Buttons are used when you want the user to select one of a limited number of choices.
Checkboxes
Checkboxes are used when you want the user to select one or more options of a limited number of choices.
A form is an area that can contain form elements.
Form elements are elements that allow the user to enter information (like text fields, textarea fields, drop-down menus, radio buttons, checkboxes, etc.) in a form.
A form is defined with the <form> tag.
<form>
<input>
<input>
</form>
--------------------------------------------------------------------------------
Input
The most used form tag is the <input> tag. The type of input is specified with the type attribute. The most commonly used input types are explained below.
Text Fields
Text fields are used when you want the user to type letters, numbers, etc. in a form.
Radio Buttons
Radio Buttons are used when you want the user to select one of a limited number of choices.
Checkboxes
Checkboxes are used when you want the user to select one or more options of a limited number of choices.
Comment