<sup>用来标记作为上标的字符,表示幂的数学概念。<sub>用来标记为下标的字符,常用在脚注或化学式中。
<!DOCTYPE html> <!-- To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates and open the template in the editor. --> <html> <head> <title>上标和下标</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> </head> <body> <div>化学方程式</div> <p>2<sup>2</sup></p> <p>2Mg+O<sub>2</sub>点燃2MgO</p> <p>3Fe+2O<sub>2</sub>点燃Fe<sub>3</sub>O<sub>4</sub></p> <p>4Al+3O<sub>2</sub>点燃2Al<sub>2</sub>O<sub>3</sub></p> </html>
来源:https://www.cnblogs.com/q2546/p/9327333.html