This is what I thought about for a while, as I saw how they were used in practice.
Method 1
<ol> <li>List item 1</li> <li>List item 2 <ol> <li>List item 3</li> </ol> </li> <li>List item 4</li> </ol>
This seems to me semantically correct, since the sub-list is a sub-list of this list item, however it is not very clean (the contents of the list of items are <list right next to it> ).
Method 2
<ol> <li>List item 1</li> <li>List item 2</li> <ol> <li>List item 3</li> </ol> <li>List item 4</li> </ol>
A cleaner, but it is not clear that this list is a sub-list of item 2 (although it is understandable by human output).
This is just a semantic markup problem, both methods represent the same content on the page.
So what do you think? Sources, where possible, are preferred, but personal use is also good. I notice that MediaWiki Heirchial's encryption methods use method 1, which leads me to believe that it is the right use.
source share