Lokang 

HTML and CSS

Checkbox

A checkbox in an HTML form is used to allow a user to make multiple selections from a list of options. It is represented by the <input type="checkbox"> element.

Here is an example of an HTML form with checkboxes:

<form>
 <label for="item1">Item 1</label>
 <input type="checkbox" id="item1" name="item1">
 <label for="item2">Item 2</label>
 <input type="checkbox" id="item2" name="item2">
 <label for="item3">Item 3</label>
 <input type="checkbox" id="item3" name="item3">
 <input type="submit" value="Submit">
</form>

In this example, the form has three checkboxes with the labels "Item 1", "Item 2", and "Item 3". Each checkbox is represented by an <input> element with the type attribute set to "checkbox". The id attribute is used to associate the checkbox with its corresponding label, and the name attribute is used to identify the checkbox when the form is submitted.