Forum Moderators: open
The breadcrumbs on my old design are marked up like this:
<p>Top > Section 1 > Subsection 1a</p>
but it just struck me today that perhaps that's a list?
Is it?
Perhaps it should be:
<ul><li>Top</li><li>Section 1</li><li>Subsection 1a</li></ul>
Anyone - regardless of whether you remember Semantic Markup Man or not - have a preference?
No HTML element exactly expresses that subtlety, that kind of relationship -- so unordered lists sounds good to me.
<ul>
...<li>Home
......<ul>
.........<li>Widgets
............<ul>
................<li>Blue Widgets</li>
............</ul>
.........</li>
......</ul>
...</li>
</ul>
Then you can float <ul>'s to the left. Add a little padding-left to each <li> and set a background image on the left with a small graphical arrow. So it will look like:
Home -> Widgets -> Blue Widgets