HTML Cheat Sheet
HTML Help Forum
Link to us
This can be used to place text or numbers slightly above the main text on your web page. Example x2 + y3 = 116
The 2 and 3 are in superscript form.
How to do it
To Superscript your text, just place a <SUP> tag ( by the way stands for Superscript, obviously ) in front of the text you want to Superscript. Then at the end of the line of text you want to Superscript, place an ending </SUP> tag. Note the / in the ending tag, this tells the browser to stop Superscripting the text. This is important to add, or else the browser wont know where to stop Superscripting, and Superscript all the text after the beginning <SUP> tag. Get it? Good!
I have a question on my website X2 +y3 = 116
I want to raise the 2 and 3
My code would look like this:
© 2001 TheHTMlSource.com, INC. All Rights Reserved.