A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement/reversed below:

HTMLOListElement: reversed property - Web APIs

HTMLOListElement: reversed property

Baseline Widely available

The reversed property of the HTMLOListElement interface indicates order of a list.

It reflects the reversed attribute of the <ol> element.

Value

A boolean value. If true, it indicates that the list is a descending list (..., 3, 2, 1).

Examples HTML
<ol id="order-list">
  <li>Fee</li>
  <li>Fi</li>
  <li>Fo</li>
  <li>Fum</li>
</ol>
JavaScript
const olElement = document.querySelector("#order-list");
console.log(olElement.reversed); // Output: "false"
olElement.reversed = "true";
console.log(olElement.reversed); // Output: "true"
Result Specifications Browser compatibility

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4