- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
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>
- Related Articles
- Usage of Bootstrap .btn-group-* class
- Usage of btn-xs Bootstrap class
- Usage of btn-sm Bootstrap class
- Usage of Bootstrap navbar-form class
- Usage of Bootstrap navbar-btn class
- Usage of Bootstrap navbar-text class
- Usage of btn-large Bootstrap class
- Usage of Bootstrap class panel-danger
- Usage of Bootstrap class panel-primary
- Usage of Bootstrap class panel-warning
- Usage of Bootstrap class panel-success
- Usage of Bootstrap class panel-info
- Usage of Bootstrap navbar-fixed-top class
- Usage of Bootstrap navbar-fixed-bottom class
- Usage of Bootstrap previous class to left align the links

Advertisements