Multiple-level Table of Contents

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I'm trying to figure out which makes the most semantic sense for a
Table of Contents.

Here is a sample of the ToC (each line is a link to a document):

    Windows Operating System
        Supported Versions
        Version Comparison

    Using Your Computer
        Logging In with Your Domain Account
        Maintaining Your Roaming Profile
        Administrative Accounts
            Dangers of Running as an Administrator
            Running Individual Programs as an Administrator
            Group Administrative Account Policy
        Problems with Saving Your Data on a Hard Drive


Is this best achieved (most semantically appropriate) with nested
unordered lists, nested definition lists, or something else?

Stardate 6263.0

Re: Multiple-level Table of Contents

David Trimboli wrote:
Quoted text here. Click to load it

I would most likely use <ul> for that

Re: Multiple-level Table of Contents

Thu, 6 Apr 2006 09:59:52 -0400 from David Trimboli
Quoted text here. Click to load it

I don't think the subheads are really definitions of the main heads.

IMHO it makes the most semantic sense with nested ordered lists. But
those come with numbers; if the numbers are unwanted I'd use nested
unordered lists even though the order does matter. (But then, I think
"ordered" and "unordered" lists are really badly named. Order is
significant in many unordered ["bulleted"] lists.) The CSS would then
handle the formatting.

Stan Brown, Oak Road Systems, Tompkins County, New York, USA
HTML 4.01 spec: /
validator: /
CSS 2.1 spec: /
validator: /
Why We Won't Help You:

Site Timeline