[whatwg] Question about "Type here your search word(s)" input box
Ian Hickson
ian at hixie.ch
Thu Jul 1 04:44:15 PDT 2004
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. `._.-(,_..'--(,_..'`-.;.'
More information about the whatwg
mailing list