+ 1
What is the difference between <sub> subscripted text </sub> and <sub> subscripted text </sub> ?
5 Respostas
+ 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.
+ 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.
+ 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
+ 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.
0
<sub> is the begging of the sub text then </sub> is the end