Skip to content
Related Articles
Open in App
Not now

Related Articles

HTML ol reversed Attribute

Improve Article
Save Article
  • Last Updated : 26 Jul, 2022
Improve Article
Save Article

The HTML <ol> reversed Attribute is a Boolean Attribute and used to ordered the list in Descending Order(9, 8, 7, 6 …..) instead of ascending order(1, 2, 3 ….).


<ol reversed>
    <li> Content... </li>
    <li> Content... </li>
    <li> Content... </li>



<!DOCTYPE html>
    <title>reversed attribute</title>
        h2 {
            text-align: center;
    <h1 style="color:green;font-style:italic;">
    <h2 style="color:green;font-style:italic;">
      HTML ol reversed attribute
<p>List of all computer Subjects are</p>
    <ol reversed>
        <li>Data Structures</li>
        <li>Operating System</li>
        <li>python programming</li>
        <li>Computer Network</li>


Supported Browsers: 

  • Google Chrome 18
  • Edge 79
  • Firefox 18
  • Opera
  • Safari 6


My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!