MDN self-hosted library · e01.org

HTMLDListElement

HTML DOM

no runnable cells web-api-interface upstream source

HTML DOM

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.

Instance properties

Inherits properties from its parent, HTMLElement.

  • HTMLDListElement.compact
  • : A boolean value indicating that spacing between list items should be reduced.

Instance methods

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

Specifications

Browser compatibility

See also

  • The HTML element implementing this interface: dl