Show Output
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Bootstrap 4 Tooltip Options</title> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"></script> <script> $(document).ready(function(){ $("#myTooltips a").tooltip({ placement: 'auto' }); }); </script> <style> .bs-example{ margin: 10px 50px; } a{ margin: 10px; font-size: 24px; display: inline-block; } </style> </head> <body> <div class="bs-example"> <div id="myTooltips"> <a href="#" data-toggle="tooltip" title="Edit Document"><i class="fa fa-edit"></i></a> <br> <a href="#" data-toggle="tooltip" title="Save Document"><i class="fa fa-save"></i></a> <br> <a href="#" data-toggle="tooltip" title="Download Document"><i class="fa fa-download"></i></a> <br> <a href="#" data-toggle="tooltip" title="Print Document"><i class="fa fa-print"></i></a> <br> <a href="#" data-toggle="tooltip" title="Delete Document"><i class="fa fa-trash"></i></a> <br> <a href="#" data-toggle="tooltip" title="Settings"><i class="fa fa-cog"></i></a> </div> <p><strong>Note:</strong> The position of the tooltip will be determined dynamically based on the available space around the tooltip.</p> </div> </body> </html>