Web Analytics

HTML Input Types

Beginner ~10 min read

Common Input Types

The <input> element is the most important form element. It can be displayed in several ways, depending on the type attribute.

Text and Password

HTML
CSS
JS

Radio Buttons

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

HTML
CSS
JS

Checkboxes

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

HTML
CSS
JS

Quick Quiz

Which input type is best for selecting multiple options?

A
radio
B
text
C
checkbox
D
select