Home » HTML » HTML Description List

Description List

The HTML and XHTML support another list style which is called definition lists where entries are listed like in a dictionary. The definition list is the ideal way to present a list of terms, or other name/value list.

The definition list created using <dl> tag. The Description <dt> — defines the item in the list, and <dd> describes the items in the list.


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> HTML Definition List</title>
</head>
<body>
<h1>HTML Definition List</h1>
<dl>
<dt>PUBG</dt>
<dd>PlayerUnknown's Battlegrounds (PUBG) developed by PUBG Corporation.</dd>
<dt>God Of War</dt>
<dd>God of War developed by Santa Monica Studio.</dd>
</dl>
</body>
</html>

Output

HTML Definition List Examples
PUBG
PlayerUnknown's Battlegrounds (PUBG) developed by PUBG Corporation.

God Of War
God of War developed by Santa Monica Studio.


<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> HTML Definition List </title>
</head>
<body>
<dl>
<dt><b>PUBG</b></dt>
<dd>PlayerUnknown's Battlegrounds (PUBG) developed by PUBG Corporation.</dd>
<dt><b>God Of War</b></dt>
<dd>God of War developed by Santa Monica Studio.</dd>
</dl>
</body>
</html>

Output

HTML Definition List Attributes Example
PUBG
PlayerUnknown's Battlegrounds (PUBG) developed by PUBG Corporation.

God Of War
God of War developed by Santa Monica Studio.

Browser Support

Element
Microsoft Edge browser.png Edge
Chrome browser.png Chrome
Firefox browser.png Firefox
Opera browser.png Opera
safari browser.png Safari
<dd>
Yes
Yes
Yes
Yes
Yes



Color Picker

List of color names supported by all browser »



Character Code

List of character codes to display special character »



Language Code

List of all language supported by all browser »



Country Code

List of Country code supported by all browser »

Latest Updates

PHP Introduction

How to Run a PHP program in Xampp?

How can I create a phpinfo.php page?

How to Define a Variable in PHP

PHP Echo and Print Statements

Working with PHP Operators

Understanding the PHP Data Types

How to Write Comments in PHP

How to Define a Constant in PHP

PHP if...else...elseif Statements