HTML Forms

An HTML form is used to collect user input. The user input is most often sent to a server for processing.

Output:

Text Fields

The <input type="text"> defines a single-line input field for text input.

Output:

Radio Buttons

The <input type="radio"> defines a radio button.

Radio buttons let a user select ONE of a limited number of choices.

Output:

Checkboxes

The <input type="checkbox"> defines a checkbox.

Checkboxes let a user select ZERO or MORE options of a limited number of choices.

Output:

The Submit Button:

Output: