Dremendo
dremendo.com โบ html-tutorial โบ html-description-list-tag
Description List in HTML | Dremendo
A description list in HTML displays a list of terms and their corresponding definitions. The dl tag is used to define a description list. The description list tag is usually used with two other tags: dt and dd.
W3Schools
w3schools.com โบ tags โบ tag_dl.asp
HTML dl tag
The <dl> tag defines a description list. The <dl> tag is used in conjunction with <dt> (defines terms/names) and <dd> (describes each term/name). The <dl> tag also supports the Global Attributes in HTML.
Videos
03:00
How to use Description List Tag in Html - dl tag in html { HTML5 ...
04:36
Learn HTML lists in 4 minutes ๐ - YouTube
03:57
HTML Description Lists - Full HTML/CSS/JS Course - YouTube
05:16
โ
HTML Description List Example with Line-by-line Explained Coding ...
02:01
HTML Tags - Description List - YouTube
Programiz
programiz.com โบ html โบ description-list
HTML Description List (With Examples)
We use the HTML description list to create a list where list items include terms and descriptions of the term.
DhiWise
dhiwise.com โบ post โบ html-description-lists-explained-everything-you-need-to-know
Mastering HTML Description Lists: A Comprehensive Guide
September 4, 2024 - Unlike unordered lists, which are used for listing items without any particular order, description lists are designed to present a series of terms and their descriptions in a way that is easy to read and understand. Creating an HTML description list is straightforward and involves depicting 'list items' as pairs of 'definition term' and 'definition description'.
W3C
w3.org โบ WAI โบ WCAG21 โบ Techniques โบ html โบ H40
H40: Using description lists | WAI | W3C
This technique applies to HTML. The objective of this technique is to provide the description of names or terms by presenting them in a description list. The list is marked up using the dl element. Within the list, each term is put in a separate dt element, and its description goes in the dd ...
CSS-Tricks
css-tricks.com โบ utilizing-the-underused-but-semantically-awesome-definition-list
Utilizing the Underused (But Semantically Awesome) Definition List | CSS-Tricks
October 23, 2021 - Now letโs take a crack at re-writing this content using definition lists. We know we can wrap the whole thing in a container now keeping everything together. We know we can set the titles as Definition Terms. But what about that description? The best way, semantically, would be to include all of that into a single Definition Description elementโฆand we can!
MDN Web Docs
developer.mozilla.org โบ en-US โบ docs โบ Web โบ HTML โบ Reference โบ Elements โบ dl
<dl>: The Description List element - HTML | MDN
The <dl> HTML element represents a description list. The element encloses a list of groups of terms (specified using the <dt> element) and descriptions (provided by <dd> elements). Common uses for this element are to implement a glossary or to display metadata (a list of key-value pairs).
CodeWithHarry
codewithharry.com โบ tutorial โบ html-definition-list-tutorial
Definition Lists | HTML Tutorial | CodeWithHarry
A Definition List in HTML is used to represent a list of terms along with their corresponding descriptions or definitions.
W3Schools
w3schools.com โบ tags โบ tag_dd.asp
HTML dd tag
The <dd> tag is used in conjunction with <dl> (defines a description list) and <dt> (defines terms/names). Inside a <dd> tag you can put paragraphs, line breaks, images, links, lists, etc. The <dd> tag also supports the Global Attributes in HTML.
GeeksforGeeks
geeksforgeeks.org โบ html โบ html-description-lists
HTML Description Lists - GeeksforGeeks
December 16, 2024 - A nested description list is when we add a description list inside another description list. This allows for organizing related terms and their definitions in a hierarchical structure, as demonstrated in the example: ... <!DOCTYPE html> <html> <head> <title>Nested Description List</title> </head> <body> <h3>Technology Overview</h3> <dl> <dt>Hardware</dt> <dd>Physical devices</dd> <dd> <dl> <!-- Nested Description List for Hardware Types --> <dt>CPUs</dt> <dd>Processors</dd> <dt>GPUs</dt> <dd>Graphics</dd> </dl> </dd> <dt>Software</dt> <dd>Programs/Apps</dd> <dd> <dl> <!-- Nested Description List for Software Types --> <dt>System</dt> <dd>OS</dd> <dt>Application</dt> <dd>Tools</dd> </dl> </dd> </dl> </body> </html>
MDN Web Docs
developer.mozilla.org โบ en-US โบ docs โบ Web โบ HTML โบ Reference โบ Elements โบ dd
<dd>: The Description Details element - HTML | MDN
The <dd> HTML element provides the description, definition, or value for the preceding term (<dt>) in a description list (<dl>).
Reddit
reddit.com โบ r/accessibility โบ i am confused about usage of description (definition) lists in htm
r/accessibility on Reddit: I am confused about usage of description (definition) lists in HTM
November 2, 2023 -
We surely can have nested ul and ol, but I am not sure if we can have nested dls.
I need to display information about someone's balance with different currencies. Say, we have following data:
User's balance:
1,234.56 USD
1,234.56 EUR
1,234.56 JPY
And according to design I would display this data in following markup:
<dl>
<dt>Balance</dt>
<dd>
<dt class="visuallyhidden">USD balance</dt>
<dd>1,234.56 USD</dd>
<dt> class="visuallyhidden">EUR balance</dt>
<dd>1,234.56 EUR</dd>
<dt> class="visuallyhidden">JPY balance</dt>
<dd>1,234.56 JPY</dd>
</dd>
</dl>Would this be accessible layout? Or should I consider other markup, for example with unordered lists and titles inside them?
Top answer 1 of 4
4
Another option would be to use a heading for "Balance" and then a definition list for the currencies. For accessibility, headings are preffered as they can be used to navigate. A heading like "balance", to me, seems important enough that it should be a heading.
2 of 4
2
Well itโs really not a definition list. The way I would create the DOM:
Balance
- $1,234.56 USD โฆ
W3C
w3c.github.io โบ html-reference โบ dl.html
dl โ description list - HTML5
The dl element represents a description list, which consists of zero or more term-description (name-value) groupings; each grouping associates one or more terms/names (the contents of dt elements) with one or more descriptions/values (the contents of dd elements). interface HTMLDListElement ...
Benmeadowcroft
benmeadowcroft.com โบ webdev โบ articles โบ definition-lists
Definition Lists. , and โ BenMeadowcroft.com
This section provides a few examples of how you can use definition lists. The markup to define a single definition is fairly simple. <dl> <dt>Cascading Style Sheets</dt> <dd>Style sheets are used to provide presentational suggestions for structured documents marked up in XML or HTML. </dd> </dl> You can also use block level elements in the definition description.
W3Schools
w3schools.com โบ tags
HTML Reference
<!--> <!DOCTYPE> <a> <abbr> <acronym> <address> <applet> <area> <article> <aside> <audio> <b> <base> <basefont> <bdi> <bdo> <big> <blockquote> <body> <br> <button> <canvas> <caption> <center> <cite> <code> <col> <colgroup> <data> <datalist> <dd> <del> <details> <dfn> <dialog> <dir> <div> <dl> <dt> <em> <embed> <fieldset> <figcaption> <figure> <font> <footer> <form> <frame> <frameset> <h1> - <h6> <head> <header> <hgroup> <hr> <html> <i> <iframe> <img> <input> <ins> <kbd> <label> <legend> <li> <link> <main> <map> <mark> <menu> <meta> <meter> <nav> <noframes> <noscript> <object> <ol> <optgroup> <