按钮元素的工具提示 [英] Tooltips for Button elements
本文介绍了按钮元素的工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以为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?
推荐答案
只需将标题
添加到您的按钮
.
<button title="Hello World!">Sample Button</button>
这篇关于按钮元素的工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文