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

[whatwg] Placeholder option for text input boxes

From: Kornel Lesinski <kornel@geekhood.net>
Date: Sun, 05 Oct 2008 19:31:30 +0100
Message-ID: <op.uikdqse9ptj49s@aimac.local>
On Sun, 05 Oct 2008 19:16:14 +0100, Kristof Zelechovski  
<giecrilj at stegny.2a.pl> wrote:

> I think it is rather uncommon that the value entered into a search field
> needs a hint about what format it should be in.  The search engine  
> should be smart enough to figure out what the user was looking for.

What I had in mind was use of placeholder instead of <label>, rather as a  
additional hint.

<input type="search" placeholder="Search...">

regards, Kornel Lesinski
Received on Sunday, 5 October 2008 11:31:30 UTC

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