Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 92 - 2607_Trackpad_Pro_5.1_flipbook_C5
P. 92

    THE <SUB> TAG
                      The <sub> (subscript) tag is used to display text below the baseline. This tag is often used in
                      mathematical formulas, chemical equations, and other situations where text or numbers
                      should appear in a smaller, lower position. For example:

                      <!DOCTYPE HTML>
                      <HTML>

                      <HEAD>
                      <TITLE>Chemical Formula</TITLE>
                      </HEAD>

                      <BODY>
                      <P>The chemical formula for water is H<SUB>2</SUB>O.</P>
                      </BODY>

                      </HTML>

                      THE <SUP> TAG
                      The <sup> (superscript) tag is used to display text above the baseline. This tag is commonly

                      used while writing mathematical formulas in a webpage. For example:
                      <!DOCTYPE HTML>

                      <HTML>
                      <HEAD>
                      <TITLE>Maths Formula</TITLE>

                      </HEAD>
                      <BODY>
                      <P>The area of a square is calculated as a<SUP>2</SUP>.</P>

                      </BODY>
                      </HTML>

                       90   Premium Edition-V

| 87 88 89 90 91 92 93 94 95 96 97 |