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

Ian Hickson ian at hixie.ch
Thu Nov 1 02:47:31 PDT 2007


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list