Badge – Badge scaling to match the size of the immediate parent element by using relative font sizing and em units.

From Bootstrap - Demo Wiki
Component
Name Badge
Description Badge scaling to match the size of the immediate parent element by using relative font sizing and em units.
Provider Skin
Reference getbootstrap.com - badge
Styling For all possible color styles and corresponding examples, see colors.

Result

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New

Code

=Example heading <span class="badge badge-secondary">New</span>=
==Example heading <span class="badge badge-secondary">New</span>==
===Example heading <span class="badge badge-secondary">New</span>===
====Example heading <span class="badge badge-secondary">New</span>====
=====Example heading <span class="badge badge-secondary">New</span>=====
======Example heading <span class="badge badge-secondary">New</span>======