HTML dl Tag
The <dl> tag in HTML is used to represent the description list. This tag is used with <dt> and <dd> tag. In HTML4.1, it defines definition list and in HTML5, it defines description list.
Syntax:
<dl> Contents... </dl>
Example:
HTML
<!DOCTYPE html> < html > < body > < h1 >w3wiki</ h1 > < h2 >dl Tag</ h2 > <!-- HTML dl tag --> < dl > < dt >w3wiki</ dt > < dd >A Computer Science Portal For Beginner</ dd > </ dl > </ body > </ html > |
Output:
Supported Browsers:
- Google Chrome
- Edge 12
- Internet Explorer
- Firefox 1
- Safari
- Opera