XHTML2 dt/dd Nesting

Hello www-html,

To solve the problem of 'dt'/'dd' nesting (i.e. the lack of connection
between the terms and the descriptions inside a definition list) the
following construction could be allowed:

 <dl>
  <li>
   <dt>Term 1</dt>
   <dd>Def 1</dd>
  </li>
  <li>
   <dt>Term 2</dt>
   <dd>Def 2.1</dd>
   <dd>Def 2.2</dd>
  </li>
  <li>
   <dt>Term 3.1</dt>
   <dt>Term 3.2</dt>
   <dd>Def 3</dd>
  </li>
 </dl> 

A 'for' attribute of type IDREF(s) on these elements would also do.

 <dl>
  <dt id="term1">Term 1</dt>
  <dd for="term1">Def 1</dd>
  
  <dt for="def21 def22">Term 2</dt>
  <dd id="def21">Def 2.1</dd>
  <dd id="def21">Def 2.2</dd>

  <dt for="def3">Term 3.1</dt>
  <dt for="def3">Term 3.2</dt>
  <dd id="def3">Def 3</dd>
 </dl>

Alex.
-- 
  Alexander "Croll" Savenkov                  http://www.thecroll.com/
  w3@hotbox.ru                                     http://croll.da.ru/

Received on Sunday, 5 October 2003 10:02:08 UTC