How to set hint in htmlcontrol in codebehind in asp.net
I have an html control like
<input id="Button1" type="button" value="button" />
<input id="Text1" type="text" />
<img alt="" src="" id="img1" />
I want to set my hint or titrate in code.
I tried the following code but it doesn't work
Button1.Attributes["tittle"] = "i am button";
Text1.Attributes["tittle"] = "i am text";
img1.Attributes["tittle"] = "i am image";
it doesn't work please help
+3
source to share
2 answers