What is the difference between subscripted and superscripted text | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 6

What is the difference between subscripted and superscripted text

28th May 2017, 9:40 AM
Aditya_garg
Aditya_garg - avatar
5 Antworten
+ 10
The most important difference between a subscript and a superscript is where it is placed. A subscript is placed below the main line of text. Superscripts are located above the main line. Please try this SUPERSCRIPT <html> <body> x <sup>3 </sup>+y <sup>6 </sup> </body> </html> SUBSCRIPT <html> <body> H <sub>2 </sub>O </body> </html>
30th May 2017, 3:17 PM
💞ⓢⓦⓐⓣⓘ💞
💞ⓢⓦⓐⓣⓘ💞 - avatar
+ 26
try it in code playground CO<sub>2</sub> (subscripted text) 5<sup>th</sup>(superscripted text)
28th May 2017, 9:58 AM
Surbhi
Surbhi - avatar
+ 5
I think you're not good at chemistry !
2nd Jun 2017, 12:07 PM
Ekansh
+ 3
Try it code playground : Subscripted is base, it is placed below of the text and Superscripted is power, it is placed on the text. write "log base 10", use "sub". <p>log<sub>10</sub></p> write "a to the power 3", use "sup". <p>a<sup>3</sup></p>
28th May 2017, 10:38 AM
Mazharul Islam
Mazharul Islam - avatar
8th Jun 2018, 9:21 PM
🐺Michael🐺
🐺Michael🐺 - avatar