Is the design of <dl> tag flawed?

The design of <dl> tag is possibly flawed. Here are two points that
describe the possible flaw:

* dl designed to be independent of ul and ol implies that dl is neither an
unordered nor an ordered list.
* The spec for dl does not provide a method for defining whether a dl is
unordered/ordered. Even if it does, the purpose of the method would overlap
with the purposes of ul and ol.

Wouldn't it make more sense that <dt> and <dd> tags be in ul and ol
elements instead so that when we want to write an unordered and an ordered
description lists, we would write the following two pieces of code?

<ul>
    <li>
        <dt></dt>
        <dd></dd>
    </li>
    <li>
        <dt></dt>
        <dd></dd>
    </li>
    <li>
        <dt></dt>
        <dd></dd>
    </li>
</ul>

<ol>
    <li>
        <dt></dt>
        <dd></dd>
    </li>
    <li>
        <dt></dt>
        <dd></dd>
    </li>
    <li>
        <dt></dt>
        <dd></dd>
    </li>
</ol>

Received on Thursday, 24 November 2016 02:06:14 UTC