Edit This Code:
<!DOCTYPE html>
<html>
<body>

<form action="action_page.php">
<input type="checkbox" name="vehicle1" value="Bike">I have a bike
<br>
<input type="checkbox" name="vehicle2" value="Car">I have a car
<br><br>
<input type="submit">
</form>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy