[whatwg] required attribute example is incorrect

Ian Hickson ian at hixie.ch
Thu Jun 24 08:19:07 PDT 2004


On Wed, 23 Jun 2004, Anne van Kesteren (fora) wrote:
>
> # Here is a form fragment showing two required fields and one optional
> # field. A user agent would not allow the user to submit the form until
> # the "name" and "team" fields were filled in.
> #
> # <ul>
> #   <li>Name: <input type="text" name="name" required="required" /></li>
> #   <li>Comment: <input type="text" name="comment" /></li>
> # </ul>
>
> The text doesn't match the example.

Fixed.

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