- From: Ian Yang <ian.html@gmail.com>
- Date: Thu, 24 Nov 2016 10:05:40 +0800
- To: public-html@w3.org
- Message-ID: <CAFhBhuM2iWaAjQs9RHhefmH6z_Zg03R-QvydQ3-iwCmbT5EyAA@mail.gmail.com>
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