Pages

Sunday, 15 July 2012

HTML-FORMATTINGS

            HTML provides us the formatting of text.For each formatting style html has its formatting tags.

 

1.Bold text:



<p><b> Paragraph with bold text</b></p>

 

2.Strong text (same as bold) :

<p><strong> Paragraph with bold text</strong></p>

 

3.Underlined text:

<p><u> Paragraph with underlined text</u></p>

 

4.Italic text:

<p><i> Paragraph with italic text</i></p>

 

5.Emphasized text (same as italic) :

<p><em> Paragraph with emphasized text</em></p>

 

6.Big text:

<p><big> Paragraph with big text</big></p>

 

7. Striked text:

<p><s> Paragraph with bold text</s></p>

 

8.Computer output text:

<p><code> Paragraph with bold text</code></p>

 

9.Subscript:

<p>H<sub>2</sub>SO<sub> 4</sub></p>

 

10.Superscript:

<p>a<sup>2</sup>+b<sup> 2</sup></p>