Source Code:
Result:
This text contains
subscript
text.
This text contains
superscript
text.
Edit the code above and click "Submit Code" to see the result.
W3Schools.com
- Try it yourself