sub_sup
不用css即可实现文字的居下、上
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>sub_sup</title> </head> <body> <!-- <sub>下标</sub> --> <!-- <sup>上标</sup> --> <p>2<sup><small>3</small></sup></p> <p>log<sub>10</sub><small>3</small></p> </body> </html>
效果预览