[whatwg] required attribute example is incorrect

Anne van Kesteren (fora) fora at annevankesteren.nl
Wed Jun 23 02:54:00 PDT 2004

# 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. [1]

[1] <http://whatwg.org/specs/web-forms/current-work/#the-required>

  Anne van Kesteren

More information about the whatwg mailing list