Bootstrap breadcrumb class


On a website or blog, breadcrumbs can show the dates of publishing, categories, or tags. Breadcrumbs show hierarchy-based information. In Bootstrap, use the .breadcrumb class to add breadcrumbs to a website.

You can try to run the following code to implement breadcrumbs −

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
   </head>
   <body>
      <ol class = "breadcrumb">
         <li><a href = "#">Home</a></li>
         <li><a href = "#">Quiz</a></li>
         <li class = "active">PHP</li>
      </ol>
   </body>
</html>

Updated on: 12-Jun-2020

49 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements