<dd> vs <dt> [HTML] | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

<dd> vs <dt> [HTML]

I always see questions with these in quizzes but I memorized the answers. But what is the difference? Don't they both describe something? If possible, can you show an example of the two? Thank you.

24th Jun 2018, 9:12 PM
Andre Daniel
Andre Daniel - avatar
1 Answer
+ 7
<dt> is the term you want to define, <dd> it's definition. <dl> <dt>Water</dt> <dd>Water is a colorless drink.</dd> </dl>
24th Jun 2018, 9:52 PM
Schindlabua
Schindlabua - avatar