Forum Moderators: open

Message Too Old, No Replies

HTML 5 placeholder attribute substitute

         

cookiemonster

4:56 pm on Dec 30, 2009 (gmt 0)

10+ Year Member



I was just wondering if there are any decent substitutes for the new placeholder attribute in HTML 5.
I tried it out and now I'm addicted to it :P but I'm not quite ready to make the switch to HTML 5.

Any suggestions?

Thanks!

Fotiman

6:02 pm on Dec 30, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



For anyone who doesn't know what the placeholder attribute is, it's defined in the HTML 5 Working Draft [w3.org].
Note, that document states:
For a longer hint or other advisory text, the title attribute is more appropriate.

So perhaps using the title attribute would be the appropriate substitution.