--- title: HTMLOListElement slug: Web/API/HTMLOListElement tags: - API - HTML DOM - Interface - Reference translation_of: Web/API/HTMLOListElement ---
HTMLOListElement
インターフェイスは インターフェイスは、 (HTMLElement
から継承したものより詳細に) <ol>
要素を操作するためのプロパティやメソッドを提供します。
{{InheritanceDiagram(600, 120)}}
親である HTMLElement
からプロパティを継承しています。
true
で、昇順の場合はfalseです。
long
value reflecting the {{htmlattrxref("start", "ol")}} and defining the value of the first number of the first element of the list.'1'
meaning that decimal numbers are used: 1
, 2
, 3
, 4
, 5
, …'a'
meaning that the lowercase latin alphabet is used: a
, b
, c
, d
, e
, …'A'
meaning that the uppercase latin alphabet is used: A
, B
, C
, D
, E
, …'i'
meaning that the lowercase latin numerals are used: i
, ii
, iii
, iv
, v
, …'I'
meaning that the uppercase latin numerals are used: I
, II
, III
, IV
, V
, …固有のメソッドはありません。親である{{domxref("HTMLElement")}}からメソッドを継承しています。
Specification | Status | Comment |
---|---|---|
{{SpecName('HTML WHATWG', "#htmlolistelement", "HTMLOListElement")}} | {{Spec2('HTML WHATWG')}} | |
{{SpecName('HTML5 W3C', "grouping-content.html#the-ol-element", "HTMLOListElement")}} | {{Spec2('HTML5 W3C')}} | reversed プロパティが追加された。 |
{{SpecName('DOM2 HTML', 'html.html#ID-58056027', 'HTMLOListElement')}} | {{Spec2('DOM2 HTML')}} | {{SpecName("DOM1")}}から変更なし。 |
{{SpecName('DOM1', 'level-one-html.html#ID-58056027', 'HTMLOListElement')}} | {{Spec2('DOM1')}} | 初回定義。 |
{{Compat("api.HTMLOListElement")}}