HTML & CSS FoundationsLesson 12Free preview
Forms & Validation
This lesson is part of Intro to HTML & CSS · All levels
Summary
A form connects the user to the application. This material covers form, input, label, various types of input, as well as browser-based validation such as required, pattern, and email types. A form that is ordered and validated reduces input errors from the start.
Key points
- Form, input, and label are the three core elements of a form
- Attributes for on the label are matched with input id to connect
- Inbuilt validation: required, email type/number, pattern, min/max
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.