html tutorial - reversed Attribute in HTML - html5 - html code - html form




Reversed attribute in html

Learn html - html tutorial - Reversed attribute in html - html examples - html programs

  • The reversed attribute is used to specify that the ordered list should be in descending.
  • This is a Boolean attribute.

Syntax for reversed attribute in HTML:

<ol reversed>

Difference between HTML 4.01 and HTML 5 for reversed Attribute:

HTML 4.01

  • HTML 4 does not support the reversed attribute.

HTML 5

  • The reversed attribute is new to HTML 5.

Applies To:

Elements Attribute
<input> reversed
<textarea> reversed
<select> reversed

Sample Coding for reversed Attribute in HTML:

Tryit<!DOCTYPE html>
<html>
    <head>
        <title>Wikitechy reversed attribute</title>
    </head>
    <body>
        <h2>Wikitechy Tutorials</h2>
        <ol reversed>
           <li>HTML</li>
           <li>CSS</li>
           <li>PHP</li>
        </ol>
    </body>
</html>

Code Explanation for reversed Attribute in HTML:

reversed Attribute Code Explanation

  1. This reversed attribute used to specifies that the ordered list should be in descending.

Output for reversed Attribute in HTML:

reversed Attribute Output

  1. The output shows that the list of ordered list in the reversed order.

Browser Support for reversed Attribute in HTML:

18.0 No 18.0 5.2 Yes

Related Searches to reversed Attribute in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×