OL标签属性属性值描述compact
compact
HTML5中不支持,不赞成使用。请使用样式取代它。 规定列表呈现的效果比正常情况更小巧。
reversed
reversed
HTML5中新属性,指定列表倒序(9,8,7...)
start
number
HTML5不支持,不赞成使用。请使用样式取代它。 规定列表中的起始点。
type
1,A,a,I,i
规定列表的类型。不赞成使用。请使用样式代替。
<!DOCTYPE html><html><head><title>PRogress</title><meta charset="utf-8"></head><body><body><ol reversed="reversed" type="I"><li>葡萄</li><li>香蕉</li><li>苹果</li><li>橘子</li><li>梨</li><li>猕猴桃</li></ol></body></html>