Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
Usage of Bootstrap label class
Bootstrap label class is used to add labels such as tips, count, etc.
Let us see an example to implement label class
Example
<!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>
Advertisements
