

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How do we specify that the list order should be descending (9,8,7, 6, 5...) in HTML?
Use the reversed attribute in HTML to specify that the list order should be descending.
Example
You can try to run the following code to implement reversed attribute −
<!DOCTYPE html> <html> <body> <h3>Cricketers List</h3> <ol reversed> <li>Amit</li> <li>Amal</li> <li>Rahul</li> <li>Virat</li> </ol> </body> </html>
- Related Questions & Answers
- Sum of series 2/3 – 4/5 + 6/7 – 8/9 + …… upto n terms
- How to specify that the details should be visible to the user in HTML?
- How to specify that the form should not be validated when disabled in HTML?
- How To Fix and Protect The Linux Server Against the Dirty COW Vulnerability on CentOS 5/6/7 or RHEL 5/6/7
- How to specify that an option should be pre-selected when the page loads in HTML?
- How to specify that an <input> element should be pre-selected when the page loads in HTML?
- Find sum of the series 1-2+3-4+5-6+7....in C++
- How to specify that the element should automatically get focus when the page loads in HTML?
- How to specify whether the content of an element should be translated or not in HTML?
- How can we sort MySQL output in descending order?
- How do we specify that the audio/video will start playing as soon as it is ready in HTML?
- How do we set the range that is considered to be of low value in HTML?
- How to specify whether the form-data should be encoded while submitting to the server with HTML?
- How do we specify the target for where to open the linked document in HTML?
- How to specify that the element must be filled out before submitting the form in HTML?
Advertisements