1 Example(s) of Bootstrap Labels


Description :

Below example shows the all contextual label classes


Bootstrap Labels Example - 1
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Bootstrap lables Example</title>
    <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
    <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
    <div class="container">
        <h1>Bootstrop label Classes.</h1>
        <span class="label label-default">Label1</span>
        <span class="label label-primary">Label2</span>
        <span class="label label-success">Label3</span>
        <span class="label label-info">Label4</span>
        <span class="label label-warning">Labe5</span>
        <span class="label label-danger">Label6</span>
    </div>
</body>
</html>

Output