Subscript and Superscript Element

SUBSCRIPT
We familiar with Subscript element. It is mostly used in chemical name , The tag is looks like
<SUB>………………….</SUB>

Example:

<HTML>
<HEAD>
<TITLE>
Program 6
</TITLE>
</HEAD>
<BODY>
This is normal H2O and This is SUBSCRIPT H<SUB>2</SUB>O
</BODY>
</HTML>


 Description of Code: Use this tag before the world or latter you want to Subscript.

SUPERSCRIPT
It is opposite of subscript, Its tag looks like <SUP>......................</SUP>. It is mostly used in mathematical terms.

Example

<HTML>
< HEAD>
< TITLE>
Program 6
< /TITLE>
< /HEAD>
< BODY>
This is normal a2b and This is SUBSCRIPT a<SUB>2</SUB>b
< /BODY>
</HTML>

The saving procedure is like before, but if u face something wrong then don't forget to write me.
 
  

0 comments:

Post a Comment