I want to set the placeholder value of an input box using only css and not JavaScript or jQuery. How can I do this?
As @Sarfraz already mentioned CSS, I'll just add HTML5 to the mix.
You can use the HTML5 placeholder attribute:
placeholder