引导标签
标签非常适合为页面提供计数,提示或其他标记。
示例
使用class.label来显示标签,然后尝试运行以下代码
<!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>Tutorials <span class = "label label-default"> 150 </span> </h1> <h2>Quiz <span class =" label label-default"> 90 </span> </h2> </body> </html>