tooltips for Button

SARAVAN picture SARAVAN · Feb 10, 2010 · Viewed 354.6k times · Source

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?

Answer

Muad'Dib picture Muad'Dib · Feb 10, 2010

Simply add a title to your button.

<button title="Hello World!">Sample Button</button>