Bootstrap Tutorial - Mark active item in Breadcrumbs








The following code shows how to mark active item in Breadcrumbs.

Example

<!DOCTYPE html>
<html lang="en">
<head>
<!--from w  ww  .ja  v  a2s  .  c o  m-->
<link rel="stylesheet"
  href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap.min.css">
<link rel="stylesheet"
  href="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/css/bootstrap-theme.min.css">
<script type="text/javascript"
  src="http://code.jquery.com/jquery.min.js"></script>
<script
  src="http://netdna.bootstrapcdn.com/bootstrap/3.0.3/js/bootstrap.min.js"></script>

</head>
<body style='margin: 20px'>
  <div class="bs-example">
    <ul class="breadcrumb">
      <li><a href="#">Home</a></li>
      <li><a href="#">Products</a></li>
      <li class="active">Accessories</li>
    </ul>
  </div>
</body>
</html>

Click to view the demo