Use this tag to label your radio buttons. When this happens, the user can click on the text for that radio button to select it; the user does not have to select the radio button itself.
Example:
<p>What is your favorite color?</p>
<input type="radio" name="color" id="blue" />
<label for="blue">Blue</label>
<br />
<input type="radio" name="color" id="yellow" />
<label for="yellow">Blue, no yellow ahhhhhhh!</label>
What is your favorite color?
Yes, I must have Monty Python's Quest for the Holy Grail on the mind.
No comments:
Post a Comment