34,333
edits
Changes
→JavaScript String Object Methods
<tr>
<td>sub()<td>Returns string wrapped in the string in HTML <sub> and </sub> elements to produce a subscript effect (e.g <sub>Example</sub>)</td>
</tr>
<tr>
<td>sup()<td>Returns string wrapped in the string in HTML <sup> and </sup> elements to produce a superscript effect (e.g <sup>Example</sup>)</td>
</tr>
</table>