HTML中上标、下标使用<sup></sup>标记
我们通常用于「呼吸作用[1]」和幂的指数「an」,如例
| <p>Calculate: 8<sup>3</sup> ÷ 8<sup>2</sup></p>| <p>Cellular respiration<sup>[1]</sup> is very important to all living things.</p>
用$('input').length 然后循环一遍给每个input加个 $('input')[i].index=i;这里的index是自己加的属性,遍历完后,你使用$('#a').index 可得到对应的下标首先设置一个div ,里面设置两个div, 宽度设置100%(即继承父级的宽),然后设置text-align:center如果觉得行距太大,可以通过设置绝对定位配合2d的偏移属性来解决