- From: poot <cvsmail@w3.org>
- Date: Tue, 09 Aug 2011 21:47:38 -0400
- To: public-html-diffs@w3.org
hixie: Add a more conventional example for <fieldset>. (whatwg r6405) http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.5110&r2=1.5111&f=h http://html5.org/tools/web-apps-tracker?from=6404&to=6405 =================================================================== 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:39 UTC