HTML <dd> Tag
HTML <dd> tag represents the Description List or Definition List. As the name itself suggests, it is used to display elements in definition form. It thus works much like a dictionary. To define the description list three tags are used. These are:
- <dl> tag: Used to define the description list.
- <dt> tag: Used to define the data term.
- <dd> tag: Used to define data definition or description.
Example:
<!DOCTYPE html> <html> <body> <dl> <dt>Apple:</dt> <dd>I am a Fruit.</dd> <dt>Rose:</dt> <dd>I am a Flower.</dd> </dl> </body> </html>
Explanation:
In the above example, we are using the HTML <dd> tag to provide a description for certain terms.
Global Attributes:
The Global attributes are supported by the HTML <dd> tag.
Event Attributes:
The Event attributes are supported by the HTML <dd> tag.
Supporting Browsers:
Chrome, IE, Firefox, Opera, and Safari.