I am looking for a very simple code that can has a value on sign in inputs, so it will has username, but when click it will hide the username text so the user can enter his username. In case the user didn't write anything in the input and go out of the input, then username text should return.
I am using this:
<input type="text" value="username">
But by using this it will not be hidden when the user click on it, or return if the user didn't write any thing and take the selection out of the input.
Looking forward for your help, and thanks in advance