Can someone tell the difference between subscript and superscript | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Can someone tell the difference between subscript and superscript

30th May 2022, 7:08 AM
Purple Phoenix 7
Purple Phoenix 7 - avatar
4 Answers
+ 4
Sub is used to subscript the text below normal And Sup is used to subscript the text above normal Hope it helps 💞💞💕💕🐯⛄
30th May 2022, 9:22 AM
Rakshit Pahel
Rakshit Pahel - avatar
+ 2
CO<sub>2</sub> H<sub>2</sub>O Subscript tag is used to make the text inside sub tags appear below the normal line.Here 2 will appear below the normal line. 1024<sup>2</sup> The superscript is opposite,making the text appear above the normal time. Try this in code playground.
30th May 2022, 8:41 AM
Aurora Borealis
Aurora Borealis - avatar
+ 2
In html we use subscript and superscript tag to display the value in power or on lower side of number. Subscript displays value in lower side of another value. Like in H2O ,2 will be in down of H. Superscript displays value onupper side of another value. Like in x²+y³=z⁴.Here 2,3 and 4 are in superscript.
1st Jun 2022, 2:22 AM
Rock 098