Created
January 26, 2011 19:06
-
-
Save mjuhl/797225 to your computer and use it in GitHub Desktop.
The radio group needs a label, and each individual option needs to be labeled also. Is this the right way to do it?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fieldset id="colorSelector"> | |
<label for="color">Color</label> | |
<label><input name="color" type="radio" value="red">Red</label> | |
<label><input name="color" type="radio" value="green">Green</label> | |
</fieldset> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment