0

What is the difference between subscripted and superscripted ??

please help!!!!

24th Mar 2017, 5:00 AM
Chinmay pant
Chinmay pant - avatar
8 odpowiedzi
+ 13
Subscript is the text which a small letter/number is written after a particular letter/number. It hangs below its letter or number. It is used when writing chemical compounds. An example of subscript is carbondioxide. Superscript is the small letter / number above a particular letter / number. Superscript can be used for exponents in mathematics.
24th Mar 2017, 5:26 AM
Agus Mei
Agus Mei - avatar
+ 9
in html <html> <head> <title>first page</title> </head> <body> <p>Usage of Superscript and Subscript </p> <p>H<sub>2</sub>O</p> <p>2<sup>6</sup> is 64 </p> </body> </html>
24th Mar 2017, 8:10 AM
Agus Mei
Agus Mei - avatar
+ 5
go to code playground and try for yourself 😉 you'll see the difference quite clearly...
24th Mar 2017, 7:02 AM
Mario L.
Mario L. - avatar
+ 3
Superscripted is where a letter is printed a little bit higher than the rest, much like an exponent. And subscripted is where the letter is printed lower than the rest. These are typesetting terms though, not programming or scripting terms.
24th Mar 2017, 5:13 AM
coolcoder360
+ 2
Subscripts appear below a number; superscripts appear above.
24th Mar 2017, 5:10 AM
Squidy
Squidy - avatar
+ 1
Subscript is the text which a small letter/number is written after a particular letter/number. It hangs below its letter or number. It is used when writing chemical compounds. An example of subscript is N2. Superscript is the small letter / number above a particular letter / number. An example of superscript is 25. The number 5 above the number 2 is an example of superscript. Superscript can be used for exponents in mathematics
24th Mar 2017, 5:23 AM
Abhishek Arora
Abhishek Arora - avatar
0
thanks everyone
24th Mar 2017, 7:43 AM
Chinmay pant
Chinmay pant - avatar
0
how to write it in playground ??
24th Mar 2017, 7:46 AM
Chinmay pant
Chinmay pant - avatar