A Modest Definition List Proposal

Michel Fortin michel.fortin at michelf.com
Tue Apr 13 15:41:04 EDT 2010


Le 2010-04-13 à 15:21, Tom Humiston a écrit :


> Is my use of DL appropriate?


When in doubt, check HTML5 (which tend to make everything unambiguous). Here it says:


> The dl element represents an association list consisting of zero or more name-value groups (a description list). Each group must consist of one or more names (dt elements) followed by one or more values (dd elements). Within a single dl element, there should not be more than one dt element for each name.

>

> Name-value groups may be terms and definitions, metadata topics and values, or any other groups of name-value data.

>

> The values within a group are alternatives; multiple paragraphs forming part of the same value must all be given within the same dd element.

>

> The order of the list of groups, and of the names and values within each group, may be significant.


<http://www.whatwg.org/specs/web-apps/current-work/multipage/grouping-content.html#the-dl-element>

Note that it renames "definition list" to "description list", in support for the idea that it's not only for definitions.

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





More information about the Markdown-Discuss mailing list