+ 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?
4 Answers
+ 7
for 1.2.2. format, please use content: counters(section, ".") ". ";
https://code.sololearn.com/Wfco4w3k5Ezp/?ref=app
+ 2
Ken Layug you mean like this???
https://code.sololearn.com/WbxO1T4dyMg5/?ref=app
+ 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
0
Yes you can