W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2008

[whatwg] Placeholder option for text input boxes

From: Andy Lyttle <whatwg@phroggy.com>
Date: Fri, 3 Oct 2008 18:24:55 -0700
Message-ID: <3B585355-D8CC-4844-89A5-47D80522501F@phroggy.com>
On Oct 3, 2008, at 4:35 PM, Tab Atkins Jr. wrote:

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


The only reason to use placeholder instead of hint is that Apple  
already implemented placeholder.  Documentation should explain that  
placeholder is to be used for hints, not for labels (and people can  
then ignore the documentation and use it for labels anyway, but at  
least we tried).

-- 
Andy Lyttle
whatwg at phroggy.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20081003/153da799/attachment.htm>
Received on Friday, 3 October 2008 18:24:55 UTC

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