Whats a subscript and a super script used for | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whats a subscript and a super script used for

<sub></sub>,<sup></sup>

12th Feb 2017, 5:12 PM
Uche Onwe
Uche Onwe - avatar
2 Answers
+ 5
Subscript places text small and above regular text. They're like how you write exponentials. Ex: 7<sub>2</sub> writes out 7². Superscripts are similar, but places the text lower. The only example I can think of is chemical formulae.
12th Feb 2017, 6:10 PM
Tamra
Tamra - avatar
+ 1
<p>h<sub>2</sub>o</p> <p>h<sup>2</sup>o</p> Try it in your browser
13th Feb 2017, 12:24 AM
Ahmed S. Aborwash
Ahmed S. Aborwash - avatar