Re: [whatwg] Suggest making <dt> and <dd> valid in <ol>

On Sat, Jul 14, 2012 at 6:22 AM, Ian Yang <ian.html@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
significant.")


-- 
http://annevankesteren.nl/

Received on Saturday, 14 July 2012 07:47:15 UTC