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

Michel Fortin michel.fortin at michelf.com
Wed Feb 21 05:45:14 PST 2007


What about nested definition lists like all those found in the HTML5  
spec? Would you replace them by nested tables or a bizarre  
organisation of cells using rowspan and colspan? And would it still  
be intelligible?

Here are two examples:

<http://www.whatwg.org/specs/web-apps/current-work/#tokenising>
<http://www.whatwg.org/specs/web-apps/current-work/#tokenisation>

The difference between a table and a definition list is more akin the  
difference between a table and a paragraph in my view. The table is  
mostly about data, the definition list is mostly about text. There  
are many cases where both could be used as effectively, but there are  
many others where one makes much more sense than the other.


Michel Fortin
michel.fortin at michelf.com
http://www.michelf.com/





More information about the whatwg mailing list