Bootstrap 标签类用法的说明
Bootstrap 标签类用于添加标签,例如提示、数量等。
下面我们来看一个示例以实现标签类
示例
<!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> <h1>Tools <span class = "label label-default"> 40 </span> </h1> <h2>QA <span class = "label label-default"> 1000 </span> </h2> </body> </html>
广告