⚈ Kuopassa.net

Lisää kertomuksia netistä. 摆烂

Another way to build nested lists in HTML when the parent is <ol>, without childs actually being nested

Instead of stuffing an unordered, or ordered, list inside li element of the parent ol list, the start attribute is used to resume the list item counter from the, uhm, just see the example: <ol><li>This is the first ordered list item.</li></ol><ul><li>This is an unordered list item.</li></ul><ol start="2"><li>This is the second ordered list item.</li></ol>

Tietoa kirjoittajasta