Is it possible to have an ordered list inside an ordered list? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Is it possible to have an ordered list inside an ordered list?

What if I want it to make an ordered list like this: 1. Executive Board 1.1. CEO/President 1.2. Vice President 1.2.1. Administration 1.2.2. Operations I can make lists like this in Word (but I don't know what it is called) so I'm curious if I can do the same with HTML. Is there a way to make it look like this?

23rd Mar 2019, 3:02 PM
はるか (Haruka)
はるか (Haruka) - avatar
4 Answers
+ 7
for 1.2.2. format, please use content: counters(section, ".") ". "; https://code.sololearn.com/Wfco4w3k5Ezp/?ref=app
23rd Mar 2019, 4:47 PM
Calviղ
Calviղ - avatar
23rd Mar 2019, 3:33 PM
Jella
Jella - avatar
+ 1
Thanks but sorry. That's quite different. The list I wanted is similar to how Wikipedia makes their table of contents in every article. i.e. The Contents section in https://en.wikipedia.org/wiki/Physics P.S. I don't think the Contents section is visible on the mobile page of Wikipedia, but you can always view it as a Desktop site
23rd Mar 2019, 3:41 PM
はるか (Haruka)
はるか (Haruka) - avatar
0
Yes you can
23rd Mar 2019, 7:10 PM
Hamza Hesham
Hamza Hesham - avatar