Cookie Into the (open) source


HTML: numbered list disordered

The advice today is fast and (hopefully) helpful. Sometimes I happen to write some articles divided into sections. So far I have never raised the issue of assigning a sequential number to each section (as is the case with the chapters). Today I raised the issue. This procedure can be useful for example when we want to insert A small menu at the beginning, alluding to the section listed (type Wikipedia). Let's see how.

The HTML code for the classic numbered list is as follows:

   <li>Test text 1</li>
   <li>Text Test 2</li>