back

Code


HTML
Web

<form>
<label for="lorem">Lorem</label>
<input type="radio" name="lorem" id="lorem"><br>
Ipsum<input type="radio" name="lorem" id="ipsum" value="ipsum">
</form>
<!--As you can see in the browser view, clicking 'Lorem' (which has the label tag) selects the choice but clicking 'Ipsum' does not; you need to select the radio button -->