Module jdk.xml.dom

Interface HTMLOListElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLOListElement extends HTMLElement
Ordered list. See the OL element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.

Since:
1.4, DOM Level 2
  • Method Details

    • getCompact

      boolean getCompact()
      Reduce spacing between list items. See the compact attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setCompact

      void setCompact(boolean compact)
    • getStart

      int getStart()
      Starting sequence number. See the start attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setStart

      void setStart(int start)
    • getType

      String getType()
      Numbering style. See the type attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.
    • setType

      void setType(String type)