How to create a multilevel list in HTML

Discussion in 'Programming/Scripts' started by semajames, Mar 3, 2016.

  1. semajames

    semajames New Member

    multilevel list in HTML
  2. ISPConfig Developer ISPConfig Developer

  3. justinvirk

    justinvirk New Member

    The only valid child of either a ul or ol is an li element; an li can, however, contain a ul (or ol).To achieve your aim:

    <li>myItem 1</li>
    <li>myItem 2</li><listyle="list-style-type:none">
    <li>myItem 2a</li>
    <li>myItem 3</li>
    <li>myItem 4</li></ul>
    Last edited: Apr 18, 2016
    albertrobber likes this.

Share This Page