Learn HTML: Forms
Build forms people can fill in quickly and correctly. Choose the right input types, label and group every control, add selects, text areas and buttons, and validate answers in the browser with clear, accessible messages.
- Beginner level
- 4 modules
- 15 lessons
- 38 tasks and questions
Syllabus
01Form BasicsHow a form sends data, labelled text fields with autocomplete hints, input types that bring up the right keyboard, numbers and dates, and checkboxes and radio buttons in groups.5 lessons
02More ControlsOffer choices with selects and option groups, collect longer answers with text areas, pick the right button type, and attach hints to fields so everyone hears them.4 lessons
03ValidationLet the browser check answers before they're sent - required fields, length and number limits, patterns - style valid and invalid fields, and write error messages people can find and understand.4 lessons
04Project and ReviewBuild Pine Hollow's complete booking form from a plain list of questions, then review everything with a quiz.2 lessons