What is the difference between subscripted text and superscripted text? Actually what are the effects of these texts? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

What is the difference between subscripted text and superscripted text? Actually what are the effects of these texts?

6th Sep 2016, 3:32 PM
Deep chand
Deep chand - avatar
7 Answers
+ 14
superscript raises the text like a exponent in math 2<sup>3</sup> = 8 and subscript lowers the text like in chemisrty H<sub>2</sub>O
6th Sep 2016, 9:25 PM
tim peasland
+ 6
you can think of them as superscripted text is superman and subscripted text is a submarine k̶i̶n̶d̶a̶ ̶c̶r̶i̶n̶g̶y̶ ̶l̶o̶o̶k̶i̶n̶g̶ ̶b̶a̶c̶k̶ ̶o̶n̶ ̶t̶h̶i̶s̶
7th Sep 2016, 12:32 PM
freshnewname
freshnewname - avatar
+ 5
Subscript places the preceding text a bit below. Superscript places it a bit higher, like an exponent. Both make the text smaller as well.
6th Sep 2016, 9:09 PM
Drew Davis
Drew Davis - avatar
8th Jun 2018, 9:31 PM
🐺Michael🐺
🐺Michael🐺 - avatar
+ 1
if you code this <p> 5 <sup>2</sup></p> You'll get 5² as a result BTW 5²=25
30th Dec 2016, 1:08 AM
Abdel
Abdel - avatar
0
just think there is a line the higher half is sup and the lower half is sub
2nd Jan 2017, 11:53 PM
nima najmi
- 1
Sub below sup above
8th Sep 2016, 6:19 AM
Mohamad Jafar
Mohamad Jafar - avatar