Complete HTML Handbook
Beginner to Advanced — Tags, Forms, SEO, Accessibility & Interview Prep
138 tags150 interview Qs60 challenges
The input type="checkbox" control provides a specialized widget for checkbox data in HTML forms.
Validation: checked boolean; value when checked
<input type="checkbox" name="agree" required>