In Association with Amazon.in   Flipkart

Saturday, November 24, 2012

HTML Headings & Text Formatting Tags

Heading Styles
<html>
<body>
<h1 align=”center”>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
</body>
</html>
0/p>---------------------------------------------------
This is heading 1
This is heading 2
This is heading 3
This is heading 4
This is heading 5
This is heading 6
* <h1 style="text-align:center">This is heading 1</h1>
*  <body style="background-color:yellow">   background

HTML Formatting Text Examples
<p> tag used for Paragraph.
<html>
<body>
<p><b>This text is bold </b></p>
<p><strong>This text is strong </strong></p>
<p><big>This text is big</big></p>
<p><em>This text is emphasized</em></p>
<p><i>This text is italic</i></p>
<p><small>This text is small</small></p>
<p>This is<sub> subscript</sub> and <sup>superscript</sup></p>
</body>
</html>
o/p>--------------------------------------------------

This text is bold
This text is strong
This text is big
This text is emphasized
This text is italic
This text is small
This is subscript and superscript

No comments:

Post a Comment


Related Posts Plugin for WordPress, Blogger...