How to create a order list in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

How to create a order list in html

8th Jul 2019, 6:56 AM
Ashok Kumar
Ashok Kumar - avatar
6 Answers
+ 6
With the ol element. <ol> <li> First </li> <li> Second </li> </ol>
8th Jul 2019, 7:05 AM
Airree
Airree - avatar
+ 4
You can create an ordered list using <ol> tag. Attribute "type" lets change the type of the list item marker (it is numerical by default). More information is here: https://www.w3schools.com/tags/tag_ol.asp
8th Jul 2019, 1:04 PM
Anastasia Verbitskaya
+ 4
way too easier than I expected....
9th Jul 2019, 6:27 PM
Aditya
Aditya - avatar
8th Jul 2019, 8:24 AM
Maxim Balakirev
Maxim Balakirev - avatar
+ 2
With using ol tag we can make ordered list like <ol> <li>...</li> <li>....</li> </ol>
9th Jul 2019, 2:17 PM
🌺🌺🎊✰丹kͥຮhͣiͫth✰🎉🎉💐
🌺🌺🎊✰丹kͥຮhͣiͫth✰🎉🎉💐 - avatar
+ 1
You cannot bellieve it, but OL mean ordered list <ol> <li>element 1</li> <li>smt</li> </ol>
8th Jul 2019, 7:10 AM
itsQuasar✅
itsQuasar✅ - avatar