W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2004

[whatwg] Question about "Type here your search word(s)" input box

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 1 Jul 2004 11:44:15 +0000 (UTC)
Message-ID: <Pine.LNX.4.58.0407011143360.3456@dhalsim.dreamhost.com>
On Thu, 1 Jul 2004, martijn wrote:
>
> There are lots of sites (and even Opera has it with the Google search
> box) that use an input box, which have some predefined value in it and
> when you focus it, that value disappears.  A lot of times you see it
> used in a search input box. Something like "Type here your search
> word(s)".
>
> Is this something that should be handled by the web forms spec, or
> should it stay in the realm of javascript?

We will probably introduce a placeholder="" attribute to do this in Web
Forms 3.0.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 1 July 2004 04:44:15 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:35 UTC