Il miglior tutorial oggetti HTML DOM Ol Nel 2024, in questo tutorial puoi imparare oggetti Ol,proprietà degli oggetti Ol,proprietà ed eventi standard,articoli correlati,
oggetto Ol rappresenta un elemento HTML <ol>.
È possibile utilizzare getElementById () per accedere all'elemento <ol>:
È possibile utilizzare il metodo document.createElement () per creare <ol> elemento:
属性 | 描述 |
---|---|
compact |
HTML5 中不支持。使用
style.lineHeight 替代。 设置或返回列表是否呈现比正常情况更小巧的效果。 |
reversed | 设置或返回列表是否为降序。 |
start | 设置或返回有序列表的 start 属性的值。 |
type | 设置或返回有序列表的 type 属性的值。 |
oggetti Ol supporta anche standard di attributi ed eventi .
HTML Reference Manual: HTML <ol> tag