- 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
Add green label (stating success) with Bootstrap
Use .label-success class in Bootstrap to add green label.
You can try to run the following code to implement the .label-success 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> <div class = "container"> <p>Success label</p> <span class = "label label-success">Success</span> </div> </body> </html>
- Related Articles
- Add the yellow label (stating warning) with Bootstrap
- Create a green button (success) with Bootstrap
- Add Red label with Bootstrap
- Set positive success action with green outlined Bootstrap 4 Button
- Add a light-blue label (set info) with Bootstrap
- Add header to label sections in dropdown menu with Bootstrap
- Set a green border to an element in Bootstrap to indicate success
- Add plain text next to a form label within a form with Bootstrap
- How to add image before optgroup label using Bootstrap?
- Style Bootstrap 4 card with bg-success class
- Add a green background color to an element to set positive action with Bootstrap
- Bootstrap .has-success class
- Bootstrap success Contextual class
- Bootstrap .btn-success class
- Bootstrap alert-success class

Advertisements