How to create a label inside an <input> element?

Posted by collimarco on Stack Overflow See other posts from Stack Overflow or by collimarco
Published on 2009-04-23T12:22:14Z Indexed on 2010/03/18 21:51 UTC
Read the original article Hit count: 161

Filed under:
|
|

Hi! I would like to insert a descriptive text inside an input element that disappers when the user click on it.

Example

I know it is a very common trick, but I do not know how to do that..

What is the simplest/better solution?

© Stack Overflow or respective owner

Related posts about html

Related posts about label