|
Combining bullets and numbersYou can also combine bullets and numbers together. Remember how we said to experiment, there are so many outcomes when you experiment and that is very important when you are doing any kind of programming, creativity is a key.
If we wanted to use a number list and then have more bullets within it, we would:
<ul>
<li>Bullet 1</li> <ol> <li>Number 1</li> <li>Number 2</li> </ol> <li>Bullet 2</li> </ul> The output:
You can see that after bullet 1, there are number lists and then bullet 2. You can even put lists within lists of lists, just by adding more codes. You can put a bullet list within a bullet list by adding the <ul> tag where you want to place a bullet list and numbers list by using the tag <ol>. |