To create a tooltip, we only need to add data-toggle="tooltip"
attribute and a title
to the HTML element that will have the tooltip. Title attribute is used to specify the text that is displayed inside the tooltip.
<span data-toggle="tooltip" title="Hello world!">Hover over me</span>