How to make a breadcrumb in HTML / CSS
Breadcrumbs are the navigation bars at the top of webpages; they allow you to see the hierarchy of a website. Let’s see how a basic breadcrumb is made.
- Create a list (ordered/unordered) in HTML and add a few items; these items should be links:
- Give a class to the list and list-items:
- Now use CSS to place them in a line. Add a background and adjust basic text styling:
- Add separators:
- Finalize your breadcrumb:
Free Resources
Copyright ©2026 Educative, Inc. All rights reserved