W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2007

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

From: Simon Pieters <zcorpan@gmail.com>
Date: Wed, 14 Feb 2007 15:29:58 +0100
Message-ID: <op.tnqs78fn7a8kvn@hp-a0a83fcd39d2>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:32 UTC