Home / HTML / CheckBox Buttons

CheckBox Buttons

Checkboxes
 
Checkboxes are used when you want the user to select one or more options of a limited number of choices.
 
Format:
<form><input type=”checkbox” name=”Bike”>I have a bike.<br></form>
 
Example Page in browser will look like
<form>
<input type=”checkbox” name=”Bike” value=”I have a bike.”> Male
<br>
<input type=”checkbox” name=”car” value=”I have a car.”>I have a car.
</form>
I have a bike.
I have a car.
 
You can check them by clicking on checkboxes.