+ 1
What is a subscripted and superscripted text?
6 ответов
+ 16
The <sup> tag defines superscript text. Superscript text appears a character above the normal line, and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like ABC[1].
the <sub> tag is used to define subscript text.
+ 8
Test this on code playground
<p>A<sup>sup</sup></p>
<p>A<sub>sub</sub></p>
+ 5
think subscript is leg part of content and super script is head of content
+ 4
A subscript or superscript is a number, figure, symbol, or indicator that is smaller than their normal line of type and is set slightly below or above it. Subscripts appear at or below the baseline, while superscripts are above.
+ 4
if you want to write X power 2 or n (X^2)
if you want to write O2 (Oxygen )
+ 4
Subscript is a number or letter slightly below the regular text line (like the 2 in H20).
Super script is the raised number (or text) like the 2 squared = 25.
See my code examples here: https://code.sololearn.com/W896QLEgkajj/#html
Hit run to see how they look!