Please consider the HTML code snippet below.

<button type="button" class="btn btn-default" data-toggle="tooltip" data-placement="top" title="My Title">Hover over me</button>

What is missing for a tooltip to show properly?

Submitted by: Muhammad
Bootstrap's Tooltip plugin is not CSS-only, like other plugins are. For performance reasons, the Tooltip plugin is opt-in, and to use it you must initialize it using JavaScript with the following example code:

$(function () {
$('[data-toggle="tooltip"]').tooltip();
});
Submitted by: Muhammad

Read Online Bootstrap Job Interview Questions And Answers