- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Wed, 10 Aug 2011 01:47:34 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv19644 Modified Files: Overview.html Log Message: Add a more conventional example for <fieldset>. (whatwg r6405) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.5110 retrieving revision 1.5111 diff -u -d -r1.5110 -r1.5111 --- Overview.html 10 Aug 2011 01:26:51 -0000 1.5110 +++ Overview.html 10 Aug 2011 01:47:30 -0000 1.5111 @@ -31280,6 +31280,23 @@ </div><div class="example"> + <p>This example shows a <code><a href="#the-fieldset-element">fieldset</a></code> element being used to + group a set of related controls:</p> + + <pre><fieldset> + <legend>Display</legend> + <p><label><input type=radio name=c value=0 checked> Black on White</label> + <p><label><input type=radio name=c value=1> White on Black</label> + <p><label><input type=checkbox name=g> Use grayscale</label> + <p><label>Enhance contrast <input type=range name=e list=contrast min=0 max=100 value=0 step=1></label> + <datalist id=contrast> + <option label=Normal value=0> + <option label=Maximum value=100> + </datalist> +</fieldset></pre> + + </div><div class="example"> + <p>The following snippet shows a fieldset with a checkbox in the legend that controls whether or not the fieldset is enabled. The contents of the fieldset consist of two required text fields and an
Received on Wednesday, 10 August 2011 01:47:35 UTC