Comments on: The dl element https://stevefaulkner.github.io/html5doctored/the-dl-element/ helping you implement HTML5 today Wed, 30 Mar 2016 14:18:08 +0000 hourly 1 By: Steven Vachon https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-2093597 Thu, 18 Feb 2016 21:25:19 +0000 http://html5doctor.com/?p=725#comment-2093597 Too bad about the <di> element going nowhere. Also too bad that we cannot validly place a <div> within a <dl> for the purpose of styling.

I find description lists useful for stuff like account info:

<dl>
<dt>Name</dt>
<dd>First Last</dd>
<dt>Email</dt>
<dd>account@domain.com</dd>
</dl>

]]>
By: Daniel https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-2089826 Sun, 07 Feb 2016 21:44:24 +0000 http://html5doctor.com/?p=725#comment-2089826 I see that most JavaScript editors (tinymce, ckeditor, etc.) do not support description lists now. I guess that there is no much interest in description lists.

]]>
By: Jesper Allermand https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-2036424 Tue, 13 Oct 2015 11:37:56 +0000 http://html5doctor.com/?p=725#comment-2036424 The only reason for using the DL element is because it describes some kind of semantic logic. Who needs semantics? Machines do, and users of assistive technology (AT).

If the element is broken by screen readers (ref. “presenting dt and dd as a “flat” list.”) I see NO point what so ever in using the DL element.

Would appreciate any comments/link concerning this issue from people who have good screen reader insight!

]]>
By: Torsten https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-2020517 Sat, 29 Aug 2015 13:50:54 +0000 http://html5doctor.com/?p=725#comment-2020517 Very good explanation, thank you. I had not known that it is possible and allowed to have multiple terms (dt) to only one description (dd).

I use a desription list for a history, to trace the development of a website of mine which I fiddle around with from time to time. Styled with CSS, this list looks quite well arranged.

]]>
By: Liz https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-1977065 Sun, 14 Jun 2015 08:40:37 +0000 http://html5doctor.com/?p=725#comment-1977065 I use description lists when doing step by step instructions and then style them with CSS to add auto numbering to each step.

The dt is the overall title of each step and the dd gives as much info as required making use of other tags within it.

Would this be a correct use?

]]>
By: Martin F https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-1957756 Thu, 04 Jun 2015 02:28:41 +0000 http://html5doctor.com/?p=725#comment-1957756 Seems to be a perfectly good usage.

]]>
By: pongo https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-1957201 Wed, 03 Jun 2015 20:26:41 +0000 http://html5doctor.com/?p=725#comment-1957201 @martin – you certainly could. I was more concerned if the use of dl was appropriate given the ‘content’ of my example. At first, it seemed as though they were for definition only… now, it has been changed to description. To me, features of a product, such as the car example I mentioned, would fit the ‘description’.

]]>
By: Martin F https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-1956632 Wed, 03 Jun 2015 14:18:17 +0000 http://html5doctor.com/?p=725#comment-1956632 Why not have nested DLs, @pongo?

<dl>
<dt>category 1
<dd>description of the category
<dl>
<dt>feature 1
<dd>feature 1 description
<dt>feature 2
<dd>feature 2 description
<dt>feature 3
<dd>feature 3 description
</dl>
<dt>category 2
<dd>description of the category
<dl>
<dt>feature 1
<dd>feature 1 description
<dt>feature 2
<dd>feature 2 description
<dt>feature 3
<dd>feature 3 description
</dl>
</dl>

]]>
By: Harrald https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-1956552 Wed, 03 Jun 2015 13:18:42 +0000 http://html5doctor.com/?p=725#comment-1956552 I often use dl’s for things like contact info.

Ie:
Tel: 0123456789
Fax:0123456789
Email: example@domain.com
Address: langestraat 11 1789KG Alkmaar the Netherlands

]]>
By: pongo https://stevefaulkner.github.io/html5doctored/the-dl-element/#comment-1954229 Tue, 02 Jun 2015 04:51:51 +0000 http://html5doctor.com/?p=725#comment-1954229 I’ve never used dl’s, but I came across it today and decided to look it up which led me here. Unfortunately, even with the ‘new’ definition of its use I am still unclear if it would be correct for my purposes. I often find myself listing features of a product which goes something like this :


category 1
description of the category

feature 1
feature 1 description
feature 2
feature 2 description
feature 3
feature 3 description
... and so on

category 2
description of the category

feature 1
feature 1 description
feature 2
feature 2 description
feature 3
feature 3 description
... and so on

I have always used unordered lists for this... are dl's appropriate in this manner? This would all be for one product... the categories would just be grouped features. So say if I was listing a car the categories might be interior, exterior, engine, etc... then sub features listed within each of those... hopefully that makes sense.

]]>