W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] required attribute in label

From: Brenton Strine <whatwg@gmail.com>
Date: Sat, 21 Aug 2010 09:18:32 -0700
Message-ID: <AANLkTin267gBLrH9grB9uYe=5uqN2COF8LmOCcsSGTyM@mail.gmail.com>
> <label class="required">


> <input id="name1" type="text" required><span>&nbsp;</span>

are effective, but then again this would be too:


It just seems a shame that we have this neat attribute that indicates
required controls, but we can't actually use it to change the
presentation adding additional code.

Received on Saturday, 21 August 2010 09:18:32 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:26 UTC