πŸŽ‰ New: Top 75 PHP Interview Questions for 2026 β€” Free for all learners

HTML Description List

P
php Guru
Β· Β· 1 min read Β·

πŸ“Œ Key Takeaways

  • HTML Description List
  • HTML Description List | HTML Definition List

HTML Description List | HTML Definition List

HTML’s Description List or Definition List shows elements in the same way that a dictionary does: as definitions. When you want to show a glossary, list of terms, or other name-value list, the definition list is a good choice. Description lists are made with the <dl>, <dt>, and <dd> tags.

Here are the three HTML tags that describe a list:

<dl> tag defines the description list.
<dt> tag defines data term.
<dd> tag defines data definition (description).

 

Example

<!DOCTYPE html>
<html>
<body>

<h2>A Description List</h2>

<dl>
<dt>Red</dt>
<dd>-Blood color is red.</dd>
<dt>Blue</dt>
<dd>-Sky color is blue</dd>
<dt>Green</dt>
<dd>-Tree color is Green.</dd>
<dt>Orange</dt>
<dd>-Orange color is orange.</dd>
</dl>

</body>
</html>

Output

discription list

 

P
php Guru
PHP Developer & Technical Writer β€” phponline.in A seasoned PHP developer with 8+ years of experience in Laravel, MySQL, and REST APIs. Writes practical tutorials and career guides to help developers grow their skills and income. All salary data is researched from real job postings and developer surveys.
← Previous Post
HTML Unordered List
Next Post β†’
HTML Block Elements and Inline Elements