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

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

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 1 Nov 2007 09:47:31 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0711010946580.27205@hixie.dreamhostps.com>
On Thu, 1 Nov 2007, Keryx Web wrote:
> 
> 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>

Why is <p> inappropriate? According to HTML5, it's exactly the element you 
want, in fact.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 1 November 2007 02:47:31 GMT

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