Bootstrap Label

Labels are used when we need to provide some additional informations. You can use .label class with contextual six classes like .label-default, .label-primary, .label-success, .label-info, .label-warning and .label-danger.

Code Structure:
<div class="container">
    <h2>Heading <span class="label label-default">Other Info</span></h2>
    <h2>Heading <span class="label label-primary">Other Info</span></h2>
    <h2>Heading <span class="label label-success">Other Info</span></h2>
    <h2>Heading <span class="label label-info">Other Info</span></h2>
    <h2>Heading <span class="label label-warning">Other Info</span></h2>
    <h2>Heading <span class="label label-danger">Other Info</span></h2>
</div>

Share this

Related Posts