CoderTools Web site

HTML Lists in Lists

Description


Many times you want to create sublists or subitems. You can do this by using nested lists!

Nested List Examples


Example:
  1. Hello from WebCodeGuide!
  2. Nice list!
  3. Another item!
    1. sub list item
    2. sub list item
    3. sub list item
  4. Last list item!
The code:
        <ol>
            <li>Hello from WebCodeGuide</li>
            <li>Nice list!</li>
            <li>Another item!
                <ol type="a">
                    <li>sub list item</li>
                    <li>sub list item</li>
                    <li>sub list item</li>
                </ol>
            </li>
            <li>Last list item!</li>
        </ol>

12/16/2017 8:21:11 AM
Terms Of Use | Privacy Statement | Copyright 2006-2015 © Independence Software LLP