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 Subscript text?


This can be used to place text or numbers slightly below the main text on your web page. Example x2 + y3 = 116

The 2 and 3 are in Subscript form.

How to do it

To Subscript your text, just place a <SUB> tag ( by the way stands for Subscript, obviously ) in front of the text you want to subscript. Then at the end of the line of text you want to subscript, place an ending </SUB> tag. Note the / in the ending tag, this tells the browser to stop subscripting the text. This is important to add, or else the browser wont know where to stop subscripting, and subscript all the text after the beginning <SUB> tag. Get it? Good!

Example

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

I want to lower the 2 and 3

My code would look like this:

X<SUB>2</SUB> + X<SUB>3</SUB> = 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!