JavaScript sup() 方法

定义和用法
sup() 方法用于把字符串显示为上标。
该方法返回加入 the <sup> 标签的字符串, 如下:
<sup>string</sup>
语法
string.sup()
浏览器支持
所有主要浏览器都支持 sup() 方法。
实例

sup() 方法用于把字符串显示为上标。
该方法返回加入 the <sup> 标签的字符串, 如下:
<sup>string</sup>
所有主要浏览器都支持 sup() 方法。