Easy Tutorial
❮ Att Table Bgcolor Att Html Xmlns ❯

HTML <ol> reversed Attribute

HTML <ol> Tag

Example

Descending order for the list:


Browser Support

Currently, only Chrome and Safari 6 support the reversed attribute.


Definition and Usage

The reversed attribute is a boolean attribute.

The reversed attribute specifies that the list order should be descending (9, 8, 7...), rather than ascending (1, 2, 3...).


Differences Between HTML 4.01 and HTML5

The reversed attribute is new in HTML5.


Differences Between HTML and XHTML

In XHTML, attribute minimization is forbidden, and the reversed attribute must be defined as <ol reversed="reversed">.


Syntax

❮ Att Table Bgcolor Att Html Xmlns ❯