discuss the concept of DL in detail with example
Answers
Answered by
0
Answer:
<dl>
<dt>Coffee</dt>
<dd>Black hot drink</dd>
<dt>Milk</dt>
<dd>White cold drink</dd>
</dl>
Definition and Usage
The <dl> tag defines a description list.
The <dl> tag is used in conjunction with <dt> (defines terms/names) and <dd> (describes each term/name).
Browser Support
Element
<dl> Yes Yes Yes Yes Yes
Global Attributes
The <dl> tag also supports the Global Attributes in HTML.
Event Attributes
The <dl> tag also supports the Event Attributes in HTML.
Related Pages
HTML tutorial: HTML Lists
HTML DOM reference: DList Object
Default CSS Settings
Most browsers will display the <dl> element with the following default values:
Similar questions