diff --git a/docs/index.html b/docs/index.html index cf11477..8a2877a 100644 --- a/docs/index.html +++ b/docs/index.html @@ -17,9 +17,10 @@
@@ -159,7 +160,7 @@
A check box represents an independent or non-exclusive choice. - +
@@ -235,9 +236,13 @@ choice within a limited set of mutually exclusive choices. That is, the user can choose only one set of options. - + +
+ Option buttons can be used via the radio
type on an input element.
+
Option buttons can be grouped by specifying a shared name
attribute on each
input. Just as before: when grouping inputs, wrap each input in a container with the
@@ -302,6 +307,109 @@
+ A group box is a special control you can use to organize a set of + controls. A group box is a rectangular frame with an optional label that surrounds + a set of controls. + + ++ +
+ A group box can be used by wrapping your elements with the fieldset
tag.
+ It contains a sunken outer border and a raised inner border, resembling an engraved box
+ around your controls.
+
<fieldset>
+ <div class="field-row">Select one:</div>
+ <div class="field-row">
+ <input id="radio10" type="radio" name="fieldset-example">
+ <label for="radio10">Diners</label>
+ </div>
+ <div class="field-row">
+ <input id="radio11" type="radio" name="fieldset-example">
+ <label for="radio11">Drive-Ins</label>
+ </div>
+ <div class="field-row">
+ <input id="radio12" type="radio" name="fieldset-example">
+ <label for="radio12">Dives</label>
+ </div>
+</fieldset>
+
+ You can provide your group with a label by placing a legend
element
+ within the fieldset
.
+
<fieldset>
+ <legend>Today's mood</legend>
+ <div class="field-row">
+ <input id="radio13" type="radio" name="fieldset-example2">
+ <label for="radio13">Claire Saffitz</label>
+ </div>
+ <div class="field-row">
+ <input id="radio14" type="radio" name="fieldset-example2">
+ <label for="radio14">Brad Leone</label>
+ </div>
+ <div class="field-row">
+ <input id="radio15" type="radio" name="fieldset-example2">
+ <label for="radio15">Chris Morocco</label>
+ </div>
+ <div class="field-row">
+ <input id="radio16" type="radio" name="fieldset-example2">
+ <label for="radio16">Carla Lalli Music</label>
+ </div>
+</fieldset>
+