Chapter 2
Text


Superscript & Subscript

< sup>

The < sup> element is used to contain characters that should be superscript such as the suffixes of dates or mathematical concepts like raising a number to a power such as 22.

< sub>

The < sub> element is used to contain characters that should be subscript. It is commonly used with foot notes or chemical formulas such as H20.

Example

HTML Result

On the 4< sup>th< /sup> of September you will learn about E=MC< sup>2< /sup>.

The amount of CO< sub>2< /sub> in the atmosphere grew by 2ppm in 2009< sub>1< /sub>.

On the 4th of September you will learn about E=MC2.


The amount of CO2 in the atmosphere grew by 2ppm in 20091.


07

Next page