Fandom

HTML & CSS Wiki

Dl

649pages on
this wiki
Add New Page
Comments0 Share


The HTML <dl></dl> element defines a definition list. This element is used in conjunction with <dt> (defines the item in the list) and <dd> (describes the item in the list).


Attribute

Attribute Value Description
compact Boolean Forces definition description to appear in the same line as definition term. Works only in Internet Explorer.
Global Attributes

See Global HTML Attributes.


HTML example:

<dl>
    <dt>Firefox</dt>
    <dd>A free, open source, cross-platform, graphical web browser
        developed by the Mozilla Corporation and hundreds of volunteers.</dd>
</dl>

External Links

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.