c# - Adding placeholder text to textbox - Stack Overflow I am looking for a way to add placeholder text to a textbox like you can with a textbox in html5 I e if the textbox has no text, then it adds the text Enter some text here, when the user clicks
Placeholder VS Label for input in HTML5 - Stack Overflow AppleGrew and steveax answers are both very good To be complete, another problem with the placeholder attribute is that, for keyboard users, its displayed value will disappear after jumping from the last link, as soon as the input gets the focus Without a label, they'll stare at a blank input and will have to guess what they're being asked for