Forms
Tags used in Forms:
<form>, </form> = Is used to create/end an HTML Form. Example below.
<form>
*input elements*
</form>
The most important element is the <input> element. The <input> element is used to select user information.
An <input> element can be a variety of things. Such as, a text field, checkbox, password, radio button, submit button, plus more.
Text Field: <input type="text"> Defines a one-line input field that a user can enter text into.
Password Field: <input type="password"> Defines a password field.
Radio Buttons: <input type="radio"> Defines a radio button. Radios buttons let a user select ONLY ONE of a limited number of choices.
Checkboxes: <input type="checkbox"> Defines a checkbox. Checkboxes let a user select ZERO or MORE options of a limited number of choices.
Submit Button: <input type="submit"> Defines a submit button.
<form>, </form> = Is used to create/end an HTML Form. Example below.
<form>
*input elements*
</form>
The most important element is the <input> element. The <input> element is used to select user information.
An <input> element can be a variety of things. Such as, a text field, checkbox, password, radio button, submit button, plus more.
Text Field: <input type="text"> Defines a one-line input field that a user can enter text into.
Password Field: <input type="password"> Defines a password field.
Radio Buttons: <input type="radio"> Defines a radio button. Radios buttons let a user select ONLY ONE of a limited number of choices.
Checkboxes: <input type="checkbox"> Defines a checkbox. Checkboxes let a user select ZERO or MORE options of a limited number of choices.
Submit Button: <input type="submit"> Defines a submit button.
Examples:
This shows the code for a Form.
This is the output.