Last Updated on April 26, 2023 by Roshan Parihar
HTML dt tag is used to specify data term for description list.
The tag comes in description list tag.
Syntax
1 |
<dt>Enter first data term</dt> |
1 2 3 4 5 6 7 |
<p>List of best mobile companies:</p> <dl> <dt>Samsung</dt> <dd>Samsung Galaxy J7 Max</dd> <dt>Nokia</dt> <dd>Nokia 6 Duos</dd> </dl> |
Output
List of best mobile companies:
- Samsung
- Samsung Galaxy J7 Max
- Nokia
- Nokia 6 Duos
Resources and References of HTML dt tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github