+ 3

what's the difference between subscripted and superscripted

formatting tags

13th Oct 2016, 3:29 AM
Vishal Sharma
Vishal Sharma - avatar
3 ответов
+ 5
Sub would make the text inside the tags appears half a character below the normal line and is sometimes rendered in a smaller font. Sup would make the text inside the tags appears half a character above the normal line, and is sometimes rendered in a smaller font. Try it this way: <!DOCTIPE html> <html> <head> <title>Subscript and Superscript Text</title> </head> <body> <p>This text contains <sub>subscript</sub> text.</p> <p>This text contains <sup>superscript</sup> text.</p> </body> </html>
13th Oct 2016, 4:42 AM
Fabricio Bertani
Fabricio Bertani - avatar
13th Oct 2016, 4:52 AM
Fabricio Oliveira
Fabricio Oliveira - avatar
+ 1
here is the difference <p> 2 <sup>2</sup></p> result is this → 2² <p> co <sub>2</sub></p> result is this → co2 contact me if you need help my WhatsApp number +22234542422
30th Dec 2016, 2:18 AM
Abdel
Abdel - avatar