<div dir="ltr">On Fri, Oct 3, 2008 at 5:04 PM, Andy Lyttle <span dir="ltr"><<a href="mailto:whatwg@phroggy.com">whatwg@phroggy.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Oct 3, 2008, at 1:31 PM, Adrian Sutton wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 03/10/08 20:56, "Nils Dagsson Moskopp"<br>
<<a href="mailto:nils-dagsson-moskopp@dieweltistgarnichtso.net" target="_blank">nils-dagsson-moskopp@dieweltistgarnichtso.net</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Am Freitag, den 03.10.2008, 20:41 +0100 schrieb Adrian Sutton:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<label for="date">Date: <input type="text" placeholder="1 Jan 2008"<br>
id="date" /></label><br>
</blockquote>
Wouldn't three comboboxes be more appropriate ?<br>
</blockquote>
<br>
While that's a common solution it's a terribly inefficient and frustrating<br>
user interface. Besides, the specific examples aren't as important as the<br>
idea that placeholder is an excellent way to provide suggestions and thus<br>
distinct from the label of the field.<br>
</blockquote>
<br></div>
Exactly, that was my point as well.  People have been saying that the only places they've noticed a placeholder being used, it was performing the job of a label, but if it were easy to use (a simple attribute instead of lots of JavaScript hacking), I think it would be used appropriately as a hint more often.  Yes, it would also be abused, but what else is new?  If we provide a good way to do it right, designers who care about doing it right will do it right, and the ones who don't will continue to do whatever they want.<br>

<br>
Obviously <input type="date"> kicks ass for this particular example.<font color="#888888"></font></blockquote><div><br>Man, I could *really* see the "hint" function being viable and quite useful.  It offers up a completely new-and-useful semantic, and there's no particular place it should already go.  I'd accept this as a new attribute without reservation if it was renamed @hint, so it's absolutely clear what the semantic for it is.<br>
<br>We can then delay any questions of generalizing this function with CSS until later, and get this pushed into html5 immediately.<br><br>For now, people wanting to use hint-like appearance for their labels but stay semantic can just use the established javascript hackery.<br>
<br>~TJ <br></div></div><br></div>