W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2004

[whatwg] required attribute example is incorrect

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 23 Jun 2004 11:54:00 +0200
Message-ID: <40D95338.9040900@annevankesteren.nl>
# 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
  <http://annevankesteren.nl/>
Received on Wednesday, 23 June 2004 02:54:00 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:34 UTC