Wednesday, 29 May 2013

HTML Text formattings

Heading formatting:
  1. <h1> Largest sized heading <h1>
  2. <h2> Smaller than h1 <h2>
  3. <h3> Smaller than h2 <h3>
  4. <h4> Smaller than h3 <h4>
  5. <h5> Smaller than h4 <h5>
  6. <h6> Smaller than h5, and the smallest heading <h6>
Paragraph formatting:
  1.  <b>         Used for bold text              </b>
  2.  <strong> Used for strong text          </strong>
  3. <big>       Used for big text                </big>
  4. <em>       Used for emphasized text  </em>
  5. <i>           Used for italic text               </i>
  6. <small>    Used for small text               </small>
  7. This is used for <sub>subscript</sub> and this is for <sup>superscript</sup>

No comments:

Post a Comment