HTML allows you to specify a starting number from which an ordered list (<ol>
) should start.
I thought “Is there an upper bound?”.
Turns out: Yes, there is. It’s 2147483647 (i.e. 231-1 ). Looks like a signed 32-bit integer to me.
<ol start=2147483645>
<li>I am still in order</li>
<li>As am I</li>
<li>Me too</li>
<li>💥 Limit reached</li>
<li>💥 Limit reached</li>
<li>💥 Limit reached</li>
</ol>
The above snippet will render as the following:
- I am still in order
- As am I
- Me too
- 💥 Limit reached
- 💥 Limit reached
- 💥 Limit reached