checkbox text code example
Example 1: input checkbox
<div>
<input type="checkbox" id="scales" name="scales"
checked>
<label for="scales">Scales</label>
</div>
<div>
<input type="checkbox" id="horns" name="horns">
<label for="horns">Horns</label>
</div>
Example 2: commande checkbox html
<!doctype html>
<html>
<body>
<input type="checkbox">
<input type="radio">
</body>
</html>
Example 3: checkbox value
<input type="checkbox" name="vehicle1" value="Bike">
The checkbox value is 'Bike'.