0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>Order exists so that it can be broken. You decide to supplement the previous post with two more lists. But with one of them the numbering will go in the reverse order, and in the other one it will not begin with one. This is done using the start and reversedattributes on the ordered list tag.</p>
1
<p>Order exists so that it can be broken. You decide to supplement the previous post with two more lists. But with one of them the numbering will go in the reverse order, and in the other one it will not begin with one. This is done using the start and reversedattributes on the ordered list tag.</p>
2
<p>By default, the numbering of items starts with one, and by using start you can change this starting number. The numbering of list items may also be negative.</p>
2
<p>By default, the numbering of items starts with one, and by using start you can change this starting number. The numbering of list items may also be negative.</p>
3
<p>Code example:</p>
3
<p>Code example:</p>
4
<ol start="3"> <li>One</li> <li>Two</li> </ol><p>The reversed attribute reverses the numbering direction. This attribute does not need a value.</p>
4
<ol start="3"> <li>One</li> <li>Two</li> </ol><p>The reversed attribute reverses the numbering direction. This attribute does not need a value.</p>
5
<p>You can use another attribute, type, to assign different types of markers instead of the usual Arabic numerals: lowercase and uppercase Latin letters or Roman numerals. The possible values for this attribute are:</p>
5
<p>You can use another attribute, type, to assign different types of markers instead of the usual Arabic numerals: lowercase and uppercase Latin letters or Roman numerals. The possible values for this attribute are:</p>
6
<ul><li>1: Decimal number;</li>
6
<ul><li>1: Decimal number;</li>
7
<li>a: Lowercase letters in the Latin alphabet;</li>
7
<li>a: Lowercase letters in the Latin alphabet;</li>
8
<li>A: Uppercase letters in the Latin alphabet;</li>
8
<li>A: Uppercase letters in the Latin alphabet;</li>
9
<li>i: Lowercase Roman numerals;</li>
9
<li>i: Lowercase Roman numerals;</li>
10
<li>I: Uppercase Roman numerals.</li>
10
<li>I: Uppercase Roman numerals.</li>
11
</ul>
11
</ul>