<dl><dt><dd>
Browser |
|
---|---|
Type |
The DL element defines a definition list, and the DT and DD elements are used to define term and description.
<dl>
<dt>definition term</dt>
<dd>definition description</dd>
</dl>
<dl></dl>
: Defines a definition list.<dt></dt>
: Defines a term.<dd></dd>
: Defines a description.
Example
<dl>
<dt>HTML</dt>
<dd>Hypertext Markup Language</dd>
<dt>CGI</dt>
<dd>Common Gateway Interface</dd>
</dl>
- Output
-
- HTML
- Hypertext Markup Language
- CGI
- Common Gateway Interface