Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

present lists and sublists in html

how to organize html code (with usage ol\li ect.) to present such lists (with sublists)

1. BLA-BLA-BLA

1.1. Bla-bla-bla.
1.2. Bla-bla-bla.
1.3. Bla-bla-bla:
  lalal - balalala;
  lalal - balalala;
  lalal - lalalla.
1.4. Blal-a lalslas
1.4.1. bklalala
1.4.2. sdsdsdsdsd

note: It is not the same that I want enter image description here

like image 371
vinnitu Avatar asked Feb 03 '23 21:02

vinnitu


1 Answers

ol tag means ordered list (with numbers).

ul tag means unordered one.

Overlapping ol lists allow this kind of presentation : 1.1.2

<ol>
  <li>BLA-BLA-BLA
    <ol>
      <li> Bla-bla-bla.</li>
      <li> Bla-bla-bla.</li>
      <li> Bla-bla-bla.
        <ul>
          <li>lalal - balalala;</li>
        </ul>
      </li>
    </ol>
  </li>
</ol>
like image 60
vaugham Avatar answered Feb 05 '23 16:02

vaugham