twitter-bootstrap Badges

Example

Badges are numerical indicators of how many items are associated with a link:

Use the .badge class within <span> elements to create badges:

<a href="#">News <span class="badge">5</span></a><br>
<a href="#">Comments <span class="badge">10</span></a><br>
<a href="#">Updates <span class="badge">2</span></a

Badge in Button

<button type="button" class="btn btn-primary">Primary <span class="badge">7</span></button>