Generally speaking, it is unlikely that you will encounter extremely large <ol> lists in HTML documents, and this article is purely a technical discussion. I happened to come across this problem and tested it. The measured limit is [-2147483648, 2147483647], which is [- 2^31 ~ 2^31 - 1] There are slight differences between browsers. In IE10 and Firefox, after the serial number reaches the maximum positive value 2147483647, the serial numbers of subsequent list items are all the same as the maximum positive value 2147483647 and remain unchanged. 2147483645. On Chrome, after the serial number reaches the maximum positive value of 2147483647, the next serial number will become the maximum negative value -2147483648, and the subsequent serial numbers will increase on this basis by -2147483647, -2147483646,... 2147483645. |
>>: How to use CSS style to vertically center the font in the table
<input> is used to collect user information ...
Table of contents 1. Index Type 1. B+ Tree 2. Wha...
Table of contents Preface application Filters Dra...
Table of contents Overview What are callbacks or ...
Table of contents 1. What does shallow copy mean?...
Find the problem I recently encountered a problem...
1. I recently installed a new version of Ubuntu. ...
Installation environment: CentOS7 64-bit MINI ver...
Table of contents 1. What is Promise 2. Basic usa...
Div solution when relative width and absolute wid...
This article example shares the specific code of ...
After I set up the PHP development environment on...
This article example shares the specific code for...
1. First, we create a .json file for interactive ...
1. Configure local yum source 1. Mount the ISO im...