Cookie

TheJoe.it Into the (open) source

1Nov/110

HTML: numbered list disordered

HTML_Icon_Final

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:

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