+ 1

What is the difference between <sub> subscripted text </sub> and <sub> subscripted text </sub> ?

1st Apr 2017, 8:22 PM
Thiago Correia Alexandre
Thiago Correia Alexandre - avatar
5 Réponses
+ 18
I think you mean <sub></sub> for subscript and <sup></sup>for superscript. try them out in code playground it will be very clear there than to explain.
1st Apr 2017, 8:30 PM
Binyam Equar
Binyam Equar - avatar
+ 3
sub is Subscript and normally used for chemistry formulas. sup is Superscript and normally used for Powers in math or Physics. Its smaller than the base text and higher.
1st Apr 2017, 9:29 PM
Naeem Rind
Naeem Rind - avatar
+ 1
I just made a code for a friend to show her the difference. It's in Spanish but the text doesn't say anything important so it should help. https://code.sololearn.com/WPmfE1dQRP43/?ref=app
1st Apr 2017, 10:37 PM
Luca Garrera
+ 1
It's so easy, sub means subscripts and sup means superscripts. both have different that you will see in output. please take any example and see that. These both are generally used for mathematical text.
5th Apr 2017, 9:23 AM
Mihir Ajmera
Mihir Ajmera - avatar
0
<sub> is the begging of the sub text then </sub> is the end
1st Apr 2017, 8:56 PM
Kittens Rule