Which class is used to create a badge?
Badges are used to add extra information to content and are created by using badge Bootstrap span class along with a contextual class (for example, badge-success) on an <span> element.
The numbers (15, 10, and 5) are the badges.
Use the .badge class within <span> elements to create badges:
Example
<a href="#">Questions <span class="badge">15</span></a><br>
<a href="#">Articles <span class="badge">10</span></a><br>
<a href="#">Tutorials <span class="badge">5</span></a>
The following example code shows how to add badges to buttons:
Example
<button type="button" class="btn btn-primary">Slightbook <span class="badge">21</span></button>
How can you insert a search icon?
Which class is used to create a button group?
Which button class is used to create a large button?
Which class is used to create a big box for calling extra attention?
Which class shapes an image into a circle?