write a html program to display superscript and subscript
Answers
Answered by
1
Answer:
Subscript
<sub>: The Subscript element. The HTML Subscript element ( <sub> ) specifies inline text which should be displayed as subscript for solely typographical reasons. Subscripts are typically rendered with a lowered baseline using smaller text.
superscript
The <sup> tag defines superscript text. Superscript text appears half a character above the normal line, and is sometimes rendered in a smaller font. Superscript text can be used for footnotes, like WWW. Tip: Use the <sub> tag to define subscript text.
Similar questions