May
24
2014
html标签实现网页上的上标以及下标
作者:
绝缘体.. 发布:
2014-05-24 10:48 分类:
未分类 阅读:
抢沙发
html标签实现网页上的上标以及下标的显示,例如:

具体代码如下:
<html xmlns="http://www.phpernote.com/php-function/1022.html"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>html文件的上标字与下标字</title> </head> <body> <p>数学公式 : (x+y)<sup>2</sup> = x<sup>2</sup> + 2xy + y<sup>2</sup></p> <p>化学方程式 : H<sub>2</sub>O = 2H + O</p> </body> </html>
微信扫一扫,打赏作者吧~