How to display text when mouse over an input text box the simplest way (no css, or etc)??
3 Answers
Put some title and alt attributes on it.
<input type="text" title="show this text" alt="show this text" />
2 Comments
Zorf
Using a title attribute for that is however bad practise, the title attribute is the title of the element, nothing more. Browsers are not required to display it when you hover over it, and using it as such could be argued to be considered back practise.
FernandoSBS
so what do you suggest Lajla?