Well, semantically you have a nested un-ordered list. So in your case it
would result in something like:

<ul>
        <li>Item
                <ul>
                        <li>Item
                          <ul>
                                <li>Item
                                  <ul>
                                        <li>Item
                                          <ul>
                                            <li>Item</li>
                                        <li>Item</li>
                                      </ul>
                                        </li>
                                        <li>Item
                                          <ul>
                                            <li>Item</li>
                                        <li>Item</li>
                                          </ul>
                                        </li>
                              </ul>
                                </li>
                                <li>Item
                                  <ul>
                                        <li>Item
                                          <ul>
                                            <li>Item</li>
                                        <li>Item </li>
                                          </ul>
                                        </li>
                                        <li>Item
                                          <ul>
                                            <li>Item</li>
                                        <li>Item</li>
                                          </ul>
                                        </li>
                              </ul>
                                </li>
                          </ul>
                        </li>
                        <li>Item
                          <ul>
                                <li>Item
                                  <ul>
                                        <li>Item
                                          <ul>
                                            <li>Item</li>
                                        <li>Item</li>
                                          </ul>
                                        </li>
                                        <li>Item
                                          <ul>
                                            <li>Item</li>
                                        <li>Item</li>
                                          </ul>
                                        </li>
                              </ul>
                                </li>
                                <li>Item<br />
                                  <ul>
                                        <li>Item
                                          <ul>
                                            <li>Item</li>
                                        <li>Item</li>
                                          </ul>
                                        </li>
                                        <li>Item
                                          <ul>
                                            <li>Item</li>
                                        <li>Item</li>
                                          </ul>
                                        </li>
                              </ul>
                                </li>
                          </ul>
                        </li>
                </ul>
        </li>
</ul>

Styling that sounds like a good challenge.

- A

-----Original Message-----
From: listdad@webstandardsgroup.org
[mailto:[EMAIL PROTECTED] On Behalf Of Christian Montoya
Sent: Monday, 13 November 2006 10:38 a.m.
To: wsg@webstandardsgroup.org
Subject: [WSG] semantics for a binary tree?

A friend of mine needs to represent a pedigree (specifically for
horses) and is looking for a semantic solution. The current
representation:

http://www.imperialegyptianstud.com/the-stallions/imperial_shehaab.html

uses a table with various "rowspans" on the cells. I figured this was
a sort of binary tree but I can't find anything about representing
such a thing semantically in HTML (kind of funny considering HTML is a
tree structure, yeah?)

What would you recommend in this case? He could do something
complicated with lists but then it would be very hard to style
(especially horizontally). My initial reaction was just, keep using
the table. Thoughts?

Thanks in advance.

-- 
-- 
Christian Montoya
christianmontoya.com ... portfolio.christianmontoya.com


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************


-- 
Internal Virus Database is out-of-date.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.10.9/417 - Release Date:
11/08/2006
 


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to