Skip to content

Instantly share code, notes, and snippets.

@mjuhl
Created January 26, 2011 19:06
Show Gist options
  • Save mjuhl/797225 to your computer and use it in GitHub Desktop.
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?
<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