Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. HTMLLIElement

HTMLLIElement

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⁩.

TheHTMLLIElement interface exposes specific properties and methods (beyond those defined by regularHTMLElement interface it also has available to it by inheritance) for manipulating list elements.

EventTarget Node Element HTMLElement HTMLLIElement

Instance properties

Inherits properties from its parent,HTMLElement.

HTMLLIElement.typeDeprecated

A string representing the type of the bullets,"disc","square" or"circle". As the standard way of defining the list type is via the CSSlist-style-type property, use the CSSOM methods to set it via a script.

HTMLLIElement.value

An integer indicating the ordinal position of thelist element inside a given<ol>. It reflects thevalue attribute of the HTML<li> element, and can be smaller than0. If the<li> element is not a child of an<ol> element, the property has no meaning.

Instance methods

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

Specifications

Specification
HTML
# htmllielement

Browser compatibility

See also

  • The HTML element implementing this interface:<li>

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp