Last Updated on April 26, 2023 by Roshan Parihar
HTML dl tag is used to specify description list in HTML.
Syntax
1 |
<dl>put description list elements here...</dl> |
1 2 3 4 5 6 7 |
<p>List of laptop brands:</p> <dl> <dt>Asus</dt> <dd>Asus A555L</dd> <dt>HP</dt> <dd>HP HP68M</dd> </dl> |
Output
List of laptop brands:
- Asus
- Asus A555L
- HP
- HP HP68M
Resources and References of HTML dl tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github