The radio and the submit input types have already been covered, so onward to the "checkbox" type.
This line defines a checkbox, which lets a user select ZERO or MORE options of a limited number of choices.
HTML file: | Displayed by browser: |
---|---|
<form>
<input type="checkbox" name="vehicle1" value="Bike"> I have a bike <br /> <input type="checkbox" name="vehicle2" value="Car"> I have a car </form> |