[whatwg] [wa1] 2.5.1. The p element
Anne van Kesteren
fora at annevankesteren.nl
Thu Mar 31 04:54:52 PST 2005
Ian Hickson wrote:
>> That does not add any semantics.
>
> Not sure what you mean here. It adds the semantic that the controls
> in the paragraph are related, are one unit. How else would you convey
> this?
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. Also, TEXTAREA is used for
grouping form controls.
--
Anne van Kesteren
<http://annevankesteren.nl/>
More information about the whatwg
mailing list