[whatwg] Suggest making <dt> and <dd> valid in <ol>
Anne van Kesteren
annevk at annevk.nl
Sat Jul 14 00:46:46 PDT 2012
On Sat, Jul 14, 2012 at 6:22 AM, Ian Yang <ian.html at gmail.com> wrote:
> By seeing such contents, we usually code it using definition list (<dl>).
> At first, I was thinking the same idea. But then I realized that stages in
> a life cycle should be regarded as ordered contents.
I would recommend not over-thinking the matter. Otherwise soon you
will start wrapping your <p>s in <ol>/<li>s too to ensure they stay in
the correct order.
Using <dl> for ordered groups is perfectly fine.
(The specification points this out as well: "The order of the list of
groups, and of the names and values within each group, may be
More information about the whatwg