English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
Die reversed-Eigenschaft ist ein boolesches Attribut. Wenn die reversed-Eigenschaft vorhanden ist, wird die Reihenfolge der Liste auf absteigend festgelegt (9,8,7 ...),而不是升序(1、2、3 ...)
Absteigende Reihenfolge:
<!DOCTYPE html> <html> <head> <title>HTML:<ol> reversed Eigenschaft - Grundlagen-Tutorial-Website(oldtoolbag.com)</title> </head> <body> <ol reversed> <li>Coffee</li> <li>Tea</li> <li>Milk</li> </ol> </body> </html>Test see ‹/›
IEFirefoxOperaChromeSafari
Currently only Chrome and Safari 6 Supports the reversed attribute.
The reversed attribute is a boolean attribute.
If the reversed attribute exists, it specifies that the list order should be in descending order(9,8,7 ...),而不是升序(1、2、3 ...)。
The reversed attribute is in HTML5 new properties.
In XHTML, attribute abbreviations are prohibited, the reversed attribute must be defined as <ol reversed="reversed">.
<ol reversed>HTML <ol> Tag