Skip to content

Commit 37378b4

Browse files
committed
required attributes to options. Use fieldset for color group radio button.
1 parent f3a35c6 commit 37378b4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎Form-Controls/index.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@
2222
</div>
2323

2424
<br>
25-
Color
25+
<fieldset>
26+
<legend>Color</legend>
2627
<div>
2728
<label for="red">Red</label>
2829
<input type="radio" id="red" name="color" value="red" required>
@@ -34,6 +35,7 @@
3435
<div>
3536
<label for="green">Green</label>
3637
<input type="radio" id="green" name="color" value="green" required>
38+
</div></fieldset>
3739
</div>
3840
<br>
3941
<div>

0 commit comments

Comments
 (0)