+ 2
What is the use of <DD> tag.
4 Respostas
+ 3
use to describe a term in the description list😊😆
+ 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.
+ 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/
+ 1
See this code. It's a description list.
https://code.sololearn.com/WOYGT3KC9ktb/?ref=app