使用Bootstrap添加红色标签
在Bootstrap中使用.label-danger类添加红色标签。
您可以尝试运行以下代码来实现.label-danger 类-
示例
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
<script src = "/scripts/jquery.min.js"></script>
<script src = "/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class = "container">
<p>If you find any issues, click below</p>
<span class = "label label-danger">Danger</span>
</div>
</body>
</html>