HTMLDListElement

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

HTMLDListElement 接口提供特定的属性(除了常规 HTMLElement 接口之外,它还可以通过继承来使用),用于操作定义列表(<dl>)元素。

EventTarget Node Element HTMLElement HTMLDListElement

实例属性

从其父接口 HTMLElement 继承属性。

HTMLDListElement.compact 已弃用

一个布尔值指示应减小列表之间的间距。

实例方法

没有特定的方法,从其父接口 HTMLElement 继承方法。

规范

Specification
HTML
# htmldlistelement

浏览器兼容性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
HTMLDListElement
compact
Deprecated

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Deprecated. Not for use in new websites.

参见

  • 实现此接口的 HTML 元素:<dl>