[whatwg] Input field's hint value

Wolfram Kriesing wolfram.kriesing at gmail.com
Wed Feb 21 02:28:47 PST 2007

I was searching, but didnt find a hint-attribute for an input. The
more often we are using inline editing, the more the need for the
following is rising, imho:

   <input type="whatever" hint="Enter your title here" />

The text "Enter your title here" is shown as the value while no value
is given, or when the field is empty, upon focusing the element this
string disappears. If no value was entered this text is shown again
... I guess its clear what I think of here, a lot of apps already have
I could also imagine styling this hint text differently, may be customizable.
Is there already such a thing?



More information about the whatwg mailing list