W3C home > Mailing lists > Public > www-html@w3.org > March 2003

Re: [XHTML2] di element?

From: Ernest Cline <ernestcline@mindspring.com>
Date: Sat, 1 Mar 2003 13:20:12 -0500
To: www-html@w3.org
Message-ID: <3E60B38C.29605.B4A4B77@localhost>

On 1 Mar 2003, at 17:12, Sean wrote:

> Perhaps
> <ul>
>    <li><dl>...</dl></li>
>    <li><dl>...</dl></li>
>    <li><dl>...</dl></li>
> </ul>
> meets your requirements? A <dl> with <di> items in it seems like it
> should be a regular old <ul>.

Not really. Actually the <div> based alternative I gave in my original 
post comes closer as given the default presentation of <ul> in most 
browsers your method would stick extraneous bullets in to be extracted 
via CSS surgery. Your alternative still doesn't answer my concern that 
it creates the impression of these being seperate definition lists when 
in fact that are all part of the same definition list. One use I could 
see for di would be for example:

  <h>Faculty List</h>
   <di edit="inserted" datetime="2003-03-01T18:15:30Z">
    <dt>Dr. Chico Harpo</dt>
      Dr. Harpo is the newest member of the Marxism department.
      He is a graduate of Fredonia National University.
      His interests include the opera, and making duck soup.

or to use CSS to set a border around one or more <di>'s. Are there 
hacks that will let me add a border without adding the <di> element to 
XHTML? Yes, but they require more effort on the part of the document 
author, are not as intuitive, and obfuscate the document structure in 
order to produce a presentational effect, all of which are things that 
that run counter to the current thought on what (X)HTML should do, 
which is to define the structure of the document and leave the 
presentaion to other tools such as CSS.
Received on Saturday, 1 March 2003 13:20:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:02 UTC