- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
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
Bootstrap Labels
Labels are great for offering counts, tips, or other markups for pages.
Example
Use class .label to display labels and try to run the following code
<!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>
- Related Articles
- Align labels and groups of form controls in a horizontal layout with Bootstrap
- Hiding major tick labels while showing minor tick labels in Matplotlib
- Partition Labels in C++
- Creating Clickable Tkinter labels
- How to change the separation between tick labels and axis labels in Matplotlib?
- Largest Values From Labels in Python
- How to style labels with CSS?
- How to set labels in matplotlib.hlines?
- How to use labels in Java code?
- Barchart with vertical labels in Python/Matplotlib
- Collect the labels from the bottles of jams and jellies. Write down the list of contents printed on the labels.
- How to remove Y-axis labels in R?
- Adding value labels on a matplotlib bar chart
- Rotate tick labels for Seaborn barplot in Matplotib
- Conditional removal of labels in Matplotlib pie chart

Advertisements