工具提示按钮 [英] tooltips for Button

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

问题描述

是否有可能创建一个HTML按钮的工具提示。其正常的HTML按钮并没有Title属性,因为它是有一些HTML控件。任何想法或意见?

Is it possible to create a tooltip for an html button. Its the normal HTML button and there is no Title attribute as it is there for some html controls. Any thoughts or comments?

推荐答案

粘贴此code(注按钮上的title属性)

paste this code ( note the title attribute on the button )

<html>
<body>

<button title="you little scallywag">My First Heading</button>

</body>
</html>

这里。对我的作品 - 我得到一个提示我的按钮

here. Works for me--I get a tooltip on my button.

这篇关于工具提示按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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