0 votes
100 views
in HTML by (3.5k points)
edited

 How to create a checkbox in HTML?

1 Answer

0 votes
by (3.5k points)
selected by
 
Best answer
<input type="checkbox" id="car" name="vehicle1" value="Bike">
<label for="car1"> I have a Alto</label><br>
<input type="checkbox" id="car2" name="vehicle2" value="Car">
<label for="car2"> I have an Audi</label><br>
<input type="checkbox" id="car3" name="vehicle3" value="Boat">
<label for="car3"> I have a BMW</label><br>

Related questions

0 votes
1 answer 116 views
asked Jun 24, 2023 in HTML by Doubtly (98.9k points)
0 votes
1 answer 123 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 87 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 106 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 117 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)
0 votes
1 answer 94 views
asked Aug 19, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

537 users

...