Skip to content

Glossary: HTML & CSS Basics

Input types

Also written: input, type attribute, email, number, date, tel

The `type` of an `input` decides which control you get: `text`, `email`, `tel`, `number`, `date`, `checkbox` or `radio`. Types such as `email`, `number` and `date` also give a matching phone keyboard and automatic checking.

Where the book teaches it

Related terms

ControlValidationCheckboxRadio button