er, maybe it's my 'listless' disposition but why would you put a breadcrumb in a list? The usual > seperators seem ideal, and if you disable styles it is still a breadcrumb; what is the obsession with putting everything in a list?

Sean

On 15/10/2004, at 9:43 PM, Gavin Cooney wrote:

Hi all,

Apologies if this has been asked on WSG before, but I was wondering
the general opinion on the most correct semantic way of coding
breadcrumb trails.

There's many webpages dealing with this:

http://www.simplebits.com/notebook/2004/02/23/sqxii_conclusion.html
http://www.google.com/search?sourceid=mozclient&ie=utf-8&oe=utf -8&q=semantic+breadcrumb


I've seen arguements for:

1. <ul> list
2. Nested <ul> list
Several lists nested (seems like a bit of a pain to me)
<ul>
 <li><a href="/">Home</a>
  <ul>
   <li><a href="/articles/">Articles</a>
    <ul>
     <li><a href="/articles/file.html">Title</a></li>
    </ul>
   </li>
  </ul>
 </li>
</ul>
3. <ol> ordered list
I suppose if it's a list at all, it's an ordered list?
4. <dl> definition list
such as used in this page http://www.baekdal.com/example.asp
(actually this is a good example of using <dl>s for everything)

At the moment i've been just putting them in a <p class="breadcrumb">
or <div class="breadcrumb"> and putting a "/" or ">" etc between each
link. This is not perfect, i know.

So what do you think? How do you do your breadcrumbs?

Gav
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

****************************************************** The discussion list for http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to