If you want to make your text superscript text(raises the text) or subscript text(lowers the text), css3 property can be used.
CSS3 provides vertical-align property which can be used to make superscript or subscript effects in your HTML text of any web application. You can also do the same thing with html inline tags, but you should use css to get this effect. It will make your code more dynamic and also flexible.
Lets see this by example. here is the text you want to make subscript or superscript within span tags with corresponding classes. The HTML will look like this:
<p>Some text Some text Some text<span class="supertext">Superscript text</span></p>
<p>Regular text regular text regular text<span class="subtext">Subscript text</span></p>
To make the text as superscript and subscript, you have to use the vertical-align property in your CSS file.