What is the use of <DD> tag. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the use of <DD> tag.

25th Jun 2017, 1:39 AM
Pravin kumar singh
4 Answers
+ 3
use to describe a term in the description list😊😆
25th Jun 2017, 2:00 AM
CC Calvello
CC Calvello - avatar
+ 2
https://code.sololearn.com/WA7mnvWp679e/?ref=app The <dd> tag is used to describe a term/name in a description list. 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.
25th Jun 2017, 2:04 AM
Jay
Jay - avatar
+ 1
Many past web designers would love to create web design using table and it has been the Achilles point for web developers when it comes to debugging. Now, however when it comes to listing data on a web page, example listing data of a profile, many people would use a HTML table instead. In fact, by using HTML dl, dt, dd tags, you will save on writing more codes and add more semantic value to the content. They are for listing terms (<dt>) and their associated definitions (<dd>). Therefore, in this case, a <dl> portrays the semantic meaning of the content more accurately than a table. Whereas table is best to use for tabular data, and should not be used in listing data, web form or web layout. Here is the example where you can compare on how definition lists differ from tables https://code.sololearn.com/WP54hmhbl4rK/
25th Jun 2017, 6:02 AM
Tommi Hynynen
Tommi Hynynen - avatar
+ 1
See this code. It's a description list. https://code.sololearn.com/WOYGT3KC9ktb/?ref=app
25th Jun 2017, 7:38 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar