Google News
logo
Bootstrap-3 - Interview Questions
What is bootstrap tooltip ?
A Bootstrap tooltip is a small pop up that appears when user places the mouse pointer over an element such as link or buttons to provide hint or information about the element being hovered.

The tooltip plugin generates content and markup on demand, and by default places tooltips after their trigger element.
Via data attributes : To add a tooltip, add data-toggle = "tooltip" to an anchor tag. The title of the anchor will be the text of a tooltip.

Ex : <a href="#" data-toggle="tooltip" title="Sample tooltip"> Mouse Hover over </a>

Advertisement