What is the difference between « subscripts» and « supscripts » text in html. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the difference between « subscripts» and « supscripts » text in html.

4th Jun 2019, 9:21 PM
Nguimfack Teugwom Melaine
Nguimfack Teugwom Melaine - avatar
2 Answers
+ 6
Well try this code and you will see diference. <p>X<sup>2</sup></p> <p>H<sub>2</sub>O</p>
4th Jun 2019, 10:10 PM
PanicS
PanicS - avatar
+ 5
Subscript text appears smaller and about half a character below normal text. Superscript text appears smaller and half a character above normal text.
4th Jun 2019, 9:54 PM
Sonic
Sonic - avatar