Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

HTML | reversed Attribute

  • Difficulty Level : Easy
  • Last Updated : 30 Nov, 2021

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


Attention reader! Don’t stop learning now. Get hold of all the important HTML concepts with the Web Design for Beginners | HTML  course.

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



Attributes: It includes single attributes reversed. It is a Boolean attribute that specifies the list in descending order.



<!DOCTYPE html>
        <title>reversed attribute</title>
            h1, h2 {
        <h1 style ="color:green;font-style:italic;">
        <h2 style="color:green;font-style:italic;">
            HTML 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: The browser supported by HTML reversed attributes are listed below: 

  • Google Chrome 18.0
  • Firefox 18.0
  • Opera
  • Safari 5.2


My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!