Can someone explain to me what's the difference between 'subscripted and superscripted' ? They do seem the same for me | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Can someone explain to me what's the difference between 'subscripted and superscripted' ? They do seem the same for me

17th Jul 2016, 11:06 PM
PiPio
PiPio - avatar
6 Answers
+ 2
Superscripted text is like exponents, appearing smaller and at the top. Subscripted text is the the same but below. When you run this code, you can see the difference. <html> <head> <title>Page Title</title> </head> <body> <p>Normal<sup>Superscript</sup></p> <p>Normal<sub>Subscript</sub></p> </body> </html>
18th Jul 2016, 11:35 PM
h314
+ 1
they're small text subscripted is placed low superscripted higher?
17th Jul 2016, 11:42 PM
chii hasagi
chii hasagi - avatar
+ 1
subscripted text are the exponents... superscripted text are the same but it is written downwards.. for example. in the chemical formula of water, 2 is written somewhat below the letter h to make it h2o.. this is superscripted text
19th Jul 2016, 1:50 PM
Amlan Jyoti Dutta
0
<sub></sub> <sup></sup>
18th Jul 2016, 6:26 PM
Satyajeet Premnath Gaur
Satyajeet Premnath Gaur - avatar
0
Subsripted text is submarine Superscripted text is superman
1st Aug 2016, 4:02 AM
freshnewname
freshnewname - avatar
- 1
for example you would use super script when saying H2O <p>H<superscript>2</superscript>O</p>
18th Jul 2016, 12:36 AM
Derek Venuto
Derek Venuto - avatar