[html5] List Types

Paul Arzul paul.arzul at gmail.com
Tue Oct 26 03:26:41 PDT 2010


On 26 October 2010 00:12, Herman Hassel <herman at agrabush.com> wrote:
> On 23.10.2010 21:02, help-request at lists.whatwg.org wrote:
>
> We'd be happy to get some feedback on this way of doing forms, if anyone has
> a better idea when it comes to the semantics.

You can nest the input in the label.


> <form>
>     <fileset>
>         <legend>Personal Info</legend>
>         <div>
>             <label for="full_name">Full Name:</label>
>             <input name="full_name" type="text" />
>         </div>
>         <div>
>             <label for="full_address">Full Address</label>
>             <input name="full_address" type="text" />
>         </div>
>     </fieldset>

<legend>Personal Info</legend>
    <label>Full Name: <input></label>
    <label>Full Address: <input></label>
...



More information about the Help mailing list