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

and

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

are effective, but then again this would be too:

...</label>*

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.

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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:09:00 UTC