Add badges to list groups
We can add a badge component to any list item and it will be automatically positioned to the right. Just add <span class= "badge" > to the <li> element. The following example demonstrates this:
<! DOCTYPE html>
<meta http-equiv= "Content-type" content= "text/html; Charset=utf-8 "/>
<title>bootstrap Experience Example: List group with badges </title>
<meta charset= "Utf-8"/>
<meta name= "viewport" content= "width=device-width,initial-scale=1.0"/>
<link rel= "stylesheet" href= "Bootstrap-3.3.5-dist/css/bootstrap.min.css"/>
<body>
<div style= "padding:20px" >
<ul class= "List-group" >
<li class= "List-group-item" >Html5</li>
<li class= "List-group-item" >Css3</li>
<li class= "List-group-item" >bootstrap<span class= "badge" >3.3.5</span></li>
<li class= "List-group-item" >Javascript</li>
<li class= "List-group-item" >jquery<span class= "badge" >2.1.4</span></li>
<li class= "List-group-item" >jQueryUI</li>
<li class= "List-group-item" >C#.Net</li>
<li class= "List-group-item" >MsSql</li>
</ul>
</div>
<script src= "Jquery/jquery-2.1.4.js" ></script>
<script src= "Bootstrap-3.3.5-dist/js/bootstrap.min.js" ></script>
</body>
Bootstrap Experience Example: List group with badges