Html-ol-tag
提供:Dev Guides
HTML-<ol>タグ
説明
HTML <ol>タグは、順序付きリストを作成するために使用されます。
例
これは、次の結果を生成します-
グローバル属性
このタグは、− link:/html/html_attributes_reference [HTML属性リファレンス]で説明されているすべてのグローバル属性をサポートします
特定の属性
HTML <ol>タグは、次の追加属性もサポートしています-
Attribute | Value | Description |
---|---|---|
compact | autofocus | Defines if compact rendering is required. |
reversed html-5 | reversed | Specifies the order of the list (descending). |
start html-5 | number | Specifies the initial number to start the list. |
type | A a I i 1 | Specifies the style of the list. |
イベント属性
このタグは、− link:/html/html_events_reference [HTMLイベントリファレンス]で説明されているすべてのイベント属性をサポートします。
ブラウザのサポート
Chrome | Firefox | IE | Opera | Safari | Android |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | Yes |