What are Bootstrap Tooltips?
Bootstrap tooltips are small pop-up boxes that appear when users hover over, focus on, or tap an element. To create a tooltip, add the data-bs-toggle="tooltip"
attribute to an HTML element and use the title attribute to specify the text that should appear.
HTML
<span data-bs-toggle="tooltip" title="Default">Default</span>
<span data-bs-toggle="tooltip" data-bs-placement="top" title="Top">Top</span>
<span data-bs-toggle="tooltip" data-bs-placement="right" title="Right">Right</span>
<span data-bs-toggle="tooltip" data-bs-placement="left" title="Left">Left</span>
<span data-bs-toggle="tooltip" data-bs-placement="bottom" title="Bottom">Bottom</span>
JS
<script language="javascript">
$(function() {
$('[data-bs-toggle="tooltip"]').tooltip()
})
</script>
Basic Page
Button alignment
Button styles
Button with icon Only
Button with text and icon on the left
Button with text and icon on the right
Content pagination
Include CSS and JS Files
Modal window
Popover
Popover with HTML content
Progress bars
Progress bars with tooltip
Popover with HTML content and a close button
Responsive cards
Responsive cards styled like business cards
Responsive cards styled like post-it notes
Responsive columns
Table
Table pagination with keyboard keys
Tabs
Tooltip
Tooltip with HTML content