You can apply Bootstrap tooltip on Glyphicons like you do on other elements. First of all add the data attributes data-toggle="tooltip" and data-original-title="Text" to the icon elements and finally initialize the tooltips using the Bootstrap's .tooltip() method.
Further, you can also place these icons inside the <a> element either if you want to link it with something or perform some action with them. Let's take a look at an example:
Use the Bootstrap
.tooltip()
methodYou can apply Bootstrap tooltip on Glyphicons like you do on other elements. First of all add the data attributes
data-toggle="tooltip"
anddata-original-title="Text"
to the icon elements and finally initialize the tooltips using the Bootstrap's.tooltip()
method.Further, you can also place these icons inside the
need an explanation for this answer? contact us directly to get an explanation for this answer<a>
element either if you want to link it with something or perform some action with them. Let's take a look at an example: