Bootstrap 4 breadcrumb provides the current page's location within a navigation hierarchy that adds separators automatically.
Steps To Create bootstrap 4 breadcrumb :
<ol>
(ordered list) inside <nav>
.
.breadcrumb
to the <ol>
element base class.
.breadcrumb-item
to <li>
element base class.
active
,assign .active
to <li>
element base class also.
Note:Here .active
is used to indicated current active page inside navigation hierarchy..
Note:It is used to locate page position inside navigation hierarchy.