indeterminate-radio-group-ref.html (491B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>Test reference</title> 4 <style> 5 label[for="two"] { 6 background: green; 7 } 8 </style> 9 <form> 10 <input type="radio" name="a" id="one" value="1"> 11 <label for="one">One</label> 12 13 <input type="radio" name="a" id="two" value="2" checked> 14 <label for="two">Two</label> 15 16 <input type="radio" name="a" id="three" value="3"> 17 <label for="three">Three</label> 18 19 <input type="radio" name="a" id="four" value="4"> 20 <label for="four">Four</label> 21 </form>