W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2007

[whatwg] <CENTER>, <MENU>, <DIR>, <NL>; Re: Presentational elements in Web Applications 1.0

From: Keryx Web <webmaster@keryx.se>
Date: Thu, 01 Nov 2007 10:18:24 +0100
Message-ID: <472999E0.503@keryx.se>
Krzysztof ?elechowski skrev:

> It would also clean up the current situation where the strictness of the
> BODY element is meaningless because you can wrap all content in a DIV
> element to make it strict.

I use it sometimes for a very small form, where I think <p> or <hx> is 
inappropriate and <fieldset> is overkill. As in

<form action="login.php" method="post">
   <div>
     <label for="uname">Username:</label>
     <input type="text" name="uname" id="uname">
   </div>
   <div>
    <label for="passwd">Password:</label>
     <input type="password" name="passwd" id="passwd">
   </div>
</form>

I suppose I am not the only one who has made similar constructs. Should 
they all become non-conformant over night?


Lars Gunther
Received on Thursday, 1 November 2007 02:18:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:42 GMT