The HTML <ol> Element (or HTML Ordered List Element) represents an ordered list of items. Typically, ordered-list items are displayed with a preceding numbering, which can be of any form, like numerals, letters or Romans numerals or even simple bullets.
EX<!DOCTYPE html> <html> <body> <h2>Ordered List</h2> <ol> <li>Core java</li> <li>C</li> <li>C++</li> </ol> </body> </html>O/P
<!DOCTYPE html> <html> <body> <h2>Ordered List with Numbers</h2> <ol type="1"> <li>Core java</li> <li>C</li> <li>C++</li> </ol> </body> </html>