<fieldset id="group1"> <input type="radio" value="value1" name="group1"> <input type="radio" value="value2" name="group1"> </fieldset>