zig.com Result Size: 1260 x 277
x
 
<!DOCTYPE html>
<html lang="zh" class="svg no-js">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
  <title>Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="../../maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
  <script src="../../ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
  <script src="../../maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
  <h3>Tooltip Options</h3>
  <p>The <strong>html</strong> option specifies whether to accept HTML tags in the tooltip.</p>
  <button class="btn btn-success btn-md">Hover over me</button>
</div>
<script>
  $(document).ready(function () {
    $('.btn').tooltip({ title: "<h1><strong>HTML</strong> inside <code>the</code> <em>tooltip</em></h1>", html: true, placement: "bottom" });
  });
</script>
</body>
<!-- /bootstrap/tryit.asp?filename=trybs_ref_js_tooltip_html&stacked=h by HTTrack Website Copier/3.x [XR&CO'2014], Thu, 06 Feb 2025 19:43:55 GMT -->
</html>