What's the difference between the <sub> and <sup> tags? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the difference between the <sub> and <sup> tags?

12th Aug 2017, 12:25 PM
Anuj Mistry
Anuj Mistry - avatar
2 Answers
12th Aug 2017, 12:30 PM
Devanshi Patel
Devanshi Patel - avatar
0
I'm a <sup>here<sup/> and you are <sub>there<sub/>. output: I'm here   and you are there for memorising it just look at the shape of the "b" & "p". "b" has a circle in bottom of it's shape. so the text between open & closing "sub" tag, goes down. & "p" has a circle on top of it's shape. so the text between open & closing "sup" tag, goes up. https://www.sololearn.com/discuss/670254/?ref=app https://www.sololearn.com/discuss/616150/?ref=app https://www.sololearn.com/discuss/539008/?ref=app https://www.sololearn.com/discuss/476901/?ref=app https://www.sololearn.com/discuss/194992/?ref=app https://www.sololearn.com/discuss/61045/?ref=app https://www.sololearn.com/discuss/289794/?ref=app https://www.sololearn.com/discuss/204163/?ref=app https://www.sololearn.com/discuss/15661/?ref=app
3rd Sep 2017, 11:01 PM
Ashkan Heidary Fazel
Ashkan Heidary Fazel - avatar