问题
On an ImageButton using the AlternateText attribute renders an alt tag to the browser.
<asp:ImageButton ID="imagebuttonStuff" runat="server" OnClick="imagebuttonStuff_Click" AlternateText="Make Stuff Happen" ImageUrl="/images/icons/stuff.png" />
<input type="image" name="imagebuttonStuff" id="imagebuttonStuff" src="/images/icons/stuff.png" alt="Make Stuff Happen" />
How do I render a title tag?
回答1:
ToolTip="this is the title"
来源:https://stackoverflow.com/questions/1940087/imagebutton-title-tag