Bootstrap 元素样式
Bootstrap样式<abbr>元素的底部带有浅点边框,并在悬停时显示了全文。
HTML<abbr>元素提供缩写或首字母缩写的标记,例如NASA,HTTPS,ICC等。
您可以尝试运行以下命令以了解Bootstrap如何设置<abbr>元素的样式-
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap abbr styling</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<script src="https://cdn.staticfile.org/jquery/3.3.1/jquery.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
</head>
<body>
<abbr title = "National Aeronautics and Space Administration">NASA</abbr><br>
<abbr title = "International Cricket Council">ICC</abbr>
</body>
</html>