HTML FormsLesson 44Free preview
HTML Input Types
This lesson is part of HTML · All levels
Summary
The <input> element has many type values that govern the type of filling, ranging from text, email, number, date, to color and range. Each type provides a keyboard and validates it, for example type="email" checks the email format automatically. Choosing the right type makes it easier to fill out forms and cleaner the data.
Key points
- Type specifies the type of filing: text, email, password, number, date, etc.
- The browser displays a special control according to the type
- Inbuilt validation reduces the wrong data
- Modern types like range and color use browser-based controls.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.