[whatwg] [wa1] 2.5.1. The p element
ian at hixie.ch
Thu Mar 31 04:59:40 PST 2005
On Thu, 31 Mar 2005, Anne van Kesteren wrote:
> This is the current example:
> <p><label>Name: <input name="n"></label></p>
> <p><label>Address: <textarea name="a"></textarea></label></p>
> I think LABEL does what you want here.
Ok, I've changed the example a little.
> Also, TEXTAREA is used for grouping form controls.
I guess you mean <fieldset>. This is a higher-level grouping, though, the
equivalent, to a form, of a <section> to a document. Indeed the example
shows this -- it has a fieldset containing two paragraphs. Both paragraphs
are part of the "personal information" section, but they are two different
themes -- name and address respectively.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg