0
How to put a list inside a list?
I want a list like this one : 1. blue 1.1. light blue 1.2. dark blue 2. red 2.1. light red 2.2. dark red ... etc
4 Antworten
+ 2
Create an ordered list, create a li and then create another ol under the li.
+ 2
yes Ben said right
<ol >Blue
<li><ul>
<li> 1.1 Light Blue
...
<style> ul{ list-t ype: none;}</style>
+ 2
<body>
<ol type="1">
<li>Blue</li>
<ol type="i">
<li>Light Blue</li>
<li>Dark Blue</li>
</ol>
<li>Red</li>
<ol type="i">
<li>Light Red</li>
<li>Dark Red</li>
</ol>
</ol>
</body>
Output :
1. Blue
i. Light Blue
ii. Dark Blue
2. Red
i. Light Red
ii. Dark Red
0
thanx, both of you ;-)