[whatwg] Definition list and tables: what's the difference ?

On Wed, 14 Feb 2007 12:31:36 +0100, Alexey Feldgendler  
<alexey at feldgendler.ru> wrote:

> But you can't make *each* of A, B, and C associated with *each* of X, Y  
> -- that's
> what the example below does.
>
>>> What about this?
>>>
>>> <dl>
>>> <dt>A</dt><dt>B</dt><dt>C</dt>
>>> <dd>X</dd><dd>Y</dd>
>>> </dl>

Sure you can:

<table>
  <tr><th>A<th>B<th>C
  <tr><td colspan=3>X
  <tr><td colspan=3>Y
</table>

I'm not saying that a table *should* be used in this case, just that the  
same relationship can be expressed.

-- 
Simon Pieters

Received on Wednesday, 14 February 2007 06:29:58 UTC