What is the difference between Tooltip and Title property?

 Posted by vishalneeraj-24503 on 5/6/2014 | Category: ASP.NET Interview questions | Views: 1006 | Points: 40
Answer:

Tooltip and Title both property is known to be shown information when a Mouse is hovers on any controls meaning that both is used for showing tooltip text.
But there is a little difference between them.
Tooltip is used in Server controls i.e. Asp.Net controls whereas Title is used in HTML controls .

For Example:-
<asp:Button ID="btn_save" runat="server" Text ="Save" ToolTip="Save Record" />

<input type ="button" value="Save" title="Save Record" />


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response