W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2005

[whatwg] [wa1] 2.5.1. The p element

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 31 Mar 2005 12:59:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0503311255540.25644@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 31 March 2005 04:59:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:39 UTC