Breadcrumb navigation

From WikiMD's Wellness Encyclopedia

Breadcrumb navigation is a graphical control element used as a navigational aid in user interfaces. It allows users to keep track of their locations within programs, documents, or websites. The term comes from the trail of breadcrumbs left by Hansel and Gretel in the popular fairy tale.

Breadcrumb navigation is displayed to the user, so they can easily see where the current page is in the hierarchy of the website. It typically appears horizontally near the top of a web page, often below the navigation bar or header. The term "breadcrumbs" comes from the breadcrumbs in the Hansel and Gretel story that were used to trace a path back to the starting point.

Types of Breadcrumb Navigation[edit | edit source]

There are three main types of breadcrumb navigation:

1. Location-based breadcrumbs: These show the user the path to their current location within the website's hierarchy. They are useful for websites that have multiple levels of content organization, such as e-commerce sites.

2. Path-based breadcrumbs: These display the pages the user has visited to arrive at the current page. This type is less common and can be confusing if the user visits the same page through different paths.

3. Attribute-based breadcrumbs: These are used on websites that categorize information in a non-hierarchical manner, such as e-commerce sites that allow filtering by attributes like brand, size, or color.

Advantages of Breadcrumb Navigation[edit | edit source]

Breadcrumb navigation offers several advantages:

- Enhanced usability: Breadcrumbs provide a secondary navigation scheme that does not clutter the page, allowing users to navigate the website more easily. - Improved understanding of website structure: They help users understand the layout of a website. - SEO benefits: Breadcrumbs can contribute to Search Engine Optimization (SEO) by providing another layer of internal links that search engines can crawl.

Implementation[edit | edit source]

In web design, breadcrumb navigation is typically implemented using HTML and CSS. JavaScript may be used for more dynamic breadcrumb trails. The breadcrumbs are usually marked up using ordered or unordered lists, and modern web development practices recommend using structured data (such as Schema.org's BreadcrumbList) to help search engines understand the breadcrumbs' structure.

Examples[edit | edit source]

A typical breadcrumb trail might look like this:

Home > Category > Subcategory > Page

Each segment of the breadcrumb is usually hyperlinked except for the last page, which is the current page.

Considerations[edit | edit source]

While breadcrumb navigation is useful, it should not replace primary navigation methods. It is a supplementary navigation aid that can enhance user experience but is not suitable as the sole navigation method.




WikiMD
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Search WikiMD

Ad.Tired of being Overweight? Try W8MD's physician weight loss program.
Semaglutide (Ozempic / Wegovy and Tirzepatide (Mounjaro / Zepbound) available.
Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD