tooltips for Button
Simply add a title
to your button
.
<button title="Hello World!">Sample Button</button>
both <button>
tag and <input type="button">
accept a title attribute..
Use title
attribute.
It is a standard HTML attribute and is by default rendered in a tooltip by most desktop browsers.