Checkbox or radio button with clickable label
March 27, 2021
To make the label of a checkbox or radio button clickable, you can either -
<label><input type="checkbox" name="checkbox" value="value">some text</label>
<input type="checkbox" name="checkbox" id="checkbox_id" value="value">
<label for="checkbox_id">some text</label>