Q. Which tag is used to define description lists?

  • (A) <dl> ... </dl>
  • (B) <dd> ... </dd>
  • (C) <dlist> ... </dlist>
  • (D) <check> ... </check>
πŸ’¬ Discuss
βœ… Correct Answer: (A) <dl> ... </dl>
Explanation: 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).

Example:

<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>

Output:
Coffee
Black hot drink
Milk
White cold drink
Explanation by: Jatin Dubey
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).

Example:

<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>

Output:
Coffee
Black hot drink
Milk
White cold drink

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
313
Total Visits
πŸ“½οΈ
5 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
92%
Success Rate