The HTMLDListElement interface provides special properties (beyond those of the regular HTMLElement interface it also has available to it by inheritance) for manipulating definition list (<dl>) elements.


Inherits properties from its parent, HTMLElement.

HTMLDListElement.compact This is an obsolete API and is no longer guaranteed to work.
Is a Boolean indicating that spacing between list items should be reduced.


No specific methods; inherits methods from its parent, HTMLElement.


Browser compatibility

BCD tables only load in the browser

See also

  • The HTML element implementing this interface: <dl>