[whatwg] [wa1] 2.5.1. The p element

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/>

Received on Thursday, 31 March 2005 04:54:52 UTC