Which tag creates a checkbox for a form in html?
Answers
Answered by
14
These are the two commands 1)<input type="checkbox"> is used for creating checkbox
2) <input type="radio"> is used for creating radio buttons.
Hope it helps you
2) <input type="radio"> is used for creating radio buttons.
Hope it helps you
Answered by
1
this is the way you have to create a checkbox <form action=”/action_page.php”>
<input type=”checkbox” name=”vehicle” value=”Bike”> I have a bike<br>
<input type=”checkbox” name=”vehicle” value=”Car” checked> I have a car<br>
<input type=”submit” value=”Submit”>
</form>
if you are finding more about difference between checkbox and radio button or anything else about checkbox and radio button
go to the below website
differbet
Similar questions