[whatwg] Placeholder option for text input boxes

Andy Lyttle whatwg at phroggy.com
Fri Oct 3 18:24:55 PDT 2008


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


More information about the whatwg mailing list