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.
 
  

Related Posts:

  • FONT COLOR ELEMENT This tag is like FONT FACE and FONT SIZE element. Color can be declared by name like RED or GREEN or BLACK or you may use declare by decimal number which is decided for all the colors. This tag format is <FONT COLOR=(name… Read More
  • PARAGRAPH ELEMENT In a document we need free space after couple of lines. For this reason we can use this tag.  From the beginning we know that if we write  in 2 or 3 line space in editor it will be not same in browser. We used B… Read More
  • FONT FACE ELEMENT Sometimes we change fonts in MS Words, here we can do the same thing. Its like FONT SIZE tag. The format is like  <FONT FACE=(name of the font)>.........</FONT> Example: <HTML> <HEAD> <TITLE… Read More
  • FONT SIZE With this tag we can increase or decrease the font size. The default size is 12. We can increase this till +7 or decrease till -7. We use (+) sign for increasing and (-) sign for decreasing. The tag format is <FONT SIZE=… Read More
  • DIVISION ELEMENT With this tag we can arrange our document in different format. In this tag the other elements are TABLE, PARAGRAPH, HEADING. The format is <DIV>..............................................................</DIV>… Read More

0 comments:

Post a Comment