How to give multi level ol and ul
Hello
I want to know how to give multi level lists. Eg:
1. Fruits
a) apple
b) mango
c) grapes
2. Vegetables
a) tomato
b) pumpkin
b) broccoli
i) prevents cancer
ii) good for digestion
iii) prevents cancer
3. Fast Food
a) burger
b) chips
b) rolls
Until now I was using the below code which rendered lot of errors as seen in the above post.
-------------------------------------------------------------------------------------
<ol>
<li>You're stuck in a traffic jam and are going to be late for work. Instead of wallowing in anger or getting nervous, consider how you can make the best of the situation. To begin, ask yourself logically if fuming or fretting is going to accomplish anything. No. So, why not turn on the radio and listen to some music? If you were already listening to one, do your next best.</li>
<p></p>
<ol list-style-type:="a">
<li>The next best option is to look around and observe other people. Seeing other people become agitated can sometimes calm you down. Other options include planning how you will compensate for the time lost in traffic. Make the important calls you were supposed to make after arriving at the office.</li>
<p></p>
<li>Your best friend had planned to go on vacation with you but had to cancel at the last minute. It's frustrating; you can keep feeling that way if you want to. Wait, we are discussing Reframing here.</li>
<br/>
<li>Ask another friend if they are available. If that isn't an option, what is the next best thing that will keep your spirits up? Can you go to your favorite place by yourself? Or should you call another friend? If you decide to call another friend, do not make the mistake of lamenting or backbiting about the friend who canceled the trip. It will only add to the negativity. If calling is not the best option, go to a movie or a spa? Even better, go out and have a bite of your favorite dish. Food certainly aids in the transformation of emotions.</li>
</ol>
<br/>
<li>A close personal relationship comes to an end. You may feel sorry for yourself or resentful of the other person. Is there another option, such as "move on"? Yes, and how?</li>
<br/>
ol {list-style-type: "a"}
<li>First and foremost, please don't beat yourself up for not "moving on" right away after this breakup. It is natural to feel negative, enraged, completely dejected, or even to play the blame game in your head. You may have moments when you miss your ex/best friend.</li>
-------------------------------------------------------------------------------------
Please help with the code (for Sigil) for the entire multi level list. As repeating codes from one point to another didn't work
Regards.
|