ImageButton的标题标签 [英] ImageButton title tag

查看:170
本文介绍了ImageButton的标题标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用还有AlternateText属性的ImageButton的呈现的ALT标签浏览器。

 < ASP:ImageButton的ID =imagebuttonStuff=服务器的OnClick =imagebuttonStuff_Click还有AlternateText =做的东西发生的ImageUrl =/图像/图标/ stuff.png /><输入类型=形象NAME =imagebuttonStuffID =imagebuttonStuffSRC =/图像/图标/ stuff.pngALT =造这些东西发生/>

我如何呈现一个标题标签?


解决方案

 工具提示=这是标题

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?

解决方案

ToolTip="this is the title"

这篇关于ImageButton的标题标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆