[whatwg] select element should have a required attribute

This seems like the ideal situation to use a placeholder attribute:

<select required="true" placeholder="Select an item...">
    <option value="Foo"> Foo </option>
    <option value="Bar"> Bar </option>
    <option value=""> None </option>
</select> 

Mike Wilcox
http://clubajax.org
mike at mikewilcox.net

Received on Tuesday, 10 August 2010 11:12:44 UTC