The bootstrap tooltip plugin is a little box which comes out when the mouse pointer is moved over an element. The bootstrap tooltip Plugin can be added independently (using the Bootstrap's single "tooltip.js" file) or it can be added entirely at once (with the use of the bootstrap.js" or with the use of the "bootstrap.min.js").

To create a Tooltip plugin, the data-toggle="tooltip" attribute has to be added to an element. The attribute title has to be used to define the text which has to be displayed within the tooltip.

 

BY Best Interview Question ON 31 Mar 2019

Example

<a href="#" data-toggle="tooltip" title="Bootstrap!">Bootstrap Interview Questions</a>

The bootstrap tooltip should be initialized with jQueryby selecting the specified method and calling the tooltip()method