top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML
How Do I Make Superscript text?


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!

Example

I have a question on my website X2 +y3 = 116

I want to raise the 2 and 3

My code would look like this:

X<SUP>2</SUP> + X<SUP>3</SUP> = 116

Seeing this in the browser will look like this:

X2 + X3 = 116



< BACK



















Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!