Trusted answers to developer questions

How to make a breadcrumb in HTML / CSS

Get Started With Machine Learning

Learn the fundamentals of Machine Learning with this free course. Future-proof your career by adding ML skills to your toolkit — or prepare to land a job in AI or Data Science.

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.​

  1. Create a list (ordered/unordered) in HTML and add a few items; these items should be links:
  1. Give a class to the list and list-items:
  1. Now use CSS to place them in a line. Add a background and adjust basic text styling:
  1. Add separators:
  1. Finalize your breadcrumb:
Our breadcrumb is ready

RELATED TAGS

html
breadcrumb
css
Copyright ©2024 Educative, Inc. All rights reserved
Did you find this helpful?