checkbox

A checkbox (check box, tickbox, or tick box) is a graphical user interface element that permits the user to make a binary choice, i.e. a choice between one of two possible mutually exclusive options. For example, the user may have to answer ‘yes’ (checked) or ‘no’ (not checked) on a simple yes/no question. Example :

<!DOCTYPE html>
<html>
<body>
	<form action="">
		<input type="checkbox" name="check1" value="bike">
		I have a bike<br> 
		<input type="checkbox" name="checl2" value="Car">
		I have a car
	</form>
</body>
</html>

Output :

I have a bike
I have a car