[whatwg] required attribute in label

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