Welcome to WebHeadStart.org

Web Technologies

Sponsored By

WebHeadStart.org is currently in beta.
Please pardon our appearance as we work to provide you with the most comprehensive reference on today's web technologies.

Interested in advertising on WebHeadStart? Become an advertising partner today!

[WWW-HTML Mailing List Archive Home] [Messages By Thread] [Messages By Date]

dl, dd, dt in XHTML 2.0

From: Marcos Caceres <marcos@datadriven.com.au>
Date: Tue, 20 May 2003 15:59:23 -0700
To: <www-html@w3.org>
Message-ID: <000901c31f23$7ee96fd0$1390b583@provenance>
Dear all, 

This has probably already been proposed a number of times, but I'm just
wondering if it wouldn't make more 'semantic' sense to encapsulate dd
elements inside the dt element in xhtml 2.0. 

For instance, 

 

<dl>

  <dt>My term

            <dd>This is the first definition</dd>

<dd>This is the second definition</dd>

 </dt>

</dl>

 

At the moment, it would seem that the semantic relationship between the dt
and the dd(s) elements is only implicit as it is positional (and only
perhaps visually semantic when rendered), rather than explicit through
encapsulation. Less importantly, encapsulation dd inside dt would also
follows the structure for coding every other type of the list module in
xhtml 2.0.. aside from nesting of list terms and definition elements. which
might be something else to consider all together for definition lists.

 

When I think about it some more, doing this kind of nesting may also require
the renaming of the dl, dd, dt, or even adding some sort of container that
wraps around a definition.. Something different like this:

 

<dl>

    <definition>

<dt>My term</dt>

            <dd>This is the a definition</dd>

<dd>This is the another definition</dd>

      </definition>

</dl>

 

Just a thought. Let me know what you think, 

Marcos
Received on Tuesday, 20 May 2003 01:53:44 GMT
Valid XHTML 1.0! Valid CSS! Site Map | Privacy Policy | Terms of Use | WebHeadStart.org © 2005 All Rights Reserved.