在使用AlternateText属性的ImageButton上,向浏览器呈现alt标记。
<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" />
如何呈现标题标签?
答案 0 :(得分:9)
ToolTip="this is the title"