Re: images as bullets in <UL>

Marcus E. Hennecke wrote:
++ I somehow like the idea of having an ALT attribute for UL and LI. This
++ would allow one to do this:
++ <ol>
++   <li> First item
++   <ol>
++     <li alt="1-a)">First of first
++     <li alt="1-b)">Second of first
++   </ol>
++   <li> Second item
++   <ol>
++     <li alt="2-a)">First of second
++   </ol>
++ </ol>
++ However, a different name than ALT may be desired.
++ The reason why I like putting item labels such as III-c in the <li>
++ element instead of in style sheets is because IMHO, they are definitely
++ content and not presentation. Having it as an attribute would allow a
++ search engine to search for item III-c without first having to apply
++ a style sheet. On the other hand, it would also still be possible to
++ search for the third subitem of item 3 because one would still be using
++ ordered lists.

I do not think that is a good use, as it takes away the flexibility
of a document. Using labels like 'III-c' (usually) implies some
ordering; removal or addition of items alter the label of following
items. In my opinion, it would be better to have:
<li id = "some_label">Bla bla,
or in HTML 3.2:
<li><a name = "some_label">Bla bla</a>

Then the search engine still can locate 'some_label', without the
name of the label be dependent of the current version of the document.



Received on Thursday, 16 May 1996 19:23:35 UTC