HTML.form.guide

html5 checkbox

HTML Form with Checkboxes examples and sample code

Checkboxes can be used in different cases: You can use a single checkbox to make the user turn on or off an option (just like a switch). For example: Do you want to opt-in for our newsletter? You can provide a number of checkboxes where the user can choose more than one options Choose your favourite colors: Red Green Blue Checkbox form element is created by specifying type=checkbox attribute in <input> tag.

Continue Reading →