checkbox value
snippet in html

html form checkbox

user5501


 <input type="checkbox" name="vehicle1" value="Bike"> I have a bike<br>
 <input type="checkbox" name="vehicle2" value="Car"> I have a car<br>
<input type="checkbox" name="vehicle3" value="Boat" 
  checked> I have a boat<br>
 

input checkbox

user5278

<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>

commande checkbox html

user5091

<!doctype html>
<html>
  <body>
    
    <input type="checkbox">
    <input type="radio">
    
  </body>
</html>

checkbox value

user3333

<input type="checkbox" name="vehicle1" value="Bike">

The checkbox value is 'Bike'.