Sunday, February 13, 2011

Other Formatting Tags

Other than the formatting that we have seen so far like <B> <FONT> etc there are other tags which come in handy some times.
Here the code and the output, which is self explanatory.


Heading Tag:



<HTML>
   <BODY>
<H1>Heading</H1>
<H2>Heading</H2>
<H3>Heading</H3>
<H4>Heading</H4>
<H5>Heading</H5>
<H6>Heading</H6>
   </BODY>
</HTML>





Other Formatting Tag:


<HTML>
   <BODY>
<BIG>Big Text</BIG><BR>
<EM>Emphasized Text</EM><BR>
<SMALL>Small Text</SMALL><BR>
<STRONG>Strong Text</STRONG><BR>
This is <SUB> subscript </SUB><BR>
This is <SUP>superscript</SUP><BR>
I am <DEL>26</DEL> <INS>27</INS>
   </BODY>
</HTML>




No comments:

Post a Comment

Please leave a comment if you have anything to say or have something to ask.. I will do my best to answer..