[whatwg] Definition list and tables: what's the difference ?
zcorpan at gmail.com
Tue Feb 13 07:17:57 PST 2007
On Tue, 13 Feb 2007 15:52:23 +0100, Alexey Feldgendler
<alexey at feldgendler.ru> wrote:
> On Tue, 13 Feb 2007 15:40:13 +0100, David Latapie <david at empyree.org>
>> My humble point: <table> can do everything <dl> can, whilst the reverse
>> is not true. He who can do more can do less.
> <table> canot do this:
> <dd>An electronic device for information processing.</dd>
> <dd>A computer program taking care of direct communication with a
> <dd>A person who drives a vehicle.</dd>
Note that as of HTML5 you want to use <dfn> in the <dt> when you're
> How would you represent this in a <table> without abusing the very idea
Don't know what you mean with "abusing columns", but:
<tr><th>computer<td>An electronic device for information processing.
<tr><th rowspan=2>driver<td>A computer program taking care of direct
communication with a peripherial
<tr><td>A person who drives a vehicle.
(Again use <dfn> if you're defining terms.)
I agree with David that <dl> is like a simple <table>. Sometimes <dl> is
more convenient to use (both for the author and the reader).
More information about the whatwg