html tutorial - <dl> Definition list tag in HTML with example - html5 - html code - html form
Learn html - html tutorial - definition list dl tag in html - html examples - html programs
- Definition list is a list of terms and their definition/description.
- Definition list in order to use with the combination of <dt> and <dd> tags.
- <dt> tag used to define the term name.
- <dd> tag used to define the term description.
- <dl> tag belonging to Flow content category.
Syntax for <dl> tag:
Sample Coding for <dl> tag:
Code Explanation for Definition list:
- <dl>tag is initiated in the document.
- HTML and CSS Terms are mentioned in <dt> tag.
- The description of the HTML and CSS is declared within the <dd> tag.
- <dl>tag is terminated.
Output of Definition list tag:
- Here the output displays the description of the HTML and CSS in the document.
Browser Support for <dl> tag:
Yes | Yes | Yes | Yes | Yes |