Page 18 - 2619_PlusGPT V2.1_C-7
P. 18

<body>
                  <h1>The uses of Superscript and Subscript tags </h1>
                  <p> These tags are used to show text as superscript or subscript of
                  another text like chemical formulas
                  or mathematical equations.</p>
                  <p><b>Example of Superscript text</
                  b></p>
                  <p> (a + b)<sup>2</sup> = a<sup>2</
                  sup> + b<sup>2</sup> + 2ab</p>
                  <p><b>Example of Subscript text</b></
                  p>
                  <p>H<sub>2</sub>O</p>
                  <p>H<sub>2</sub>SO<sub>4</sub></p>
                                                                             Using <SUBSCRIPT> and <SUPSCRIPT> tags
                  </body>
                  </html>
                       The <FONT> Tag

                  HTML provides the <FONT> tag to change the certain properties such as font size, face and  colour of
                  a block of text on a web page. To do this, the <FONT> tag provides three attributes which you can use

                  in the following way:
                      FACE: It allows you to set the font family such as Times New Roman, Verdana.

                        <font face="Times New Roman"> Animation </p>
                      SIZE: It allows you to set the font size.

                        <font size="4"> Animation </p>
                      COLOR: It allows you to set the font color.

                        <font color="green"> Animation </p>
                  Following web page is created by using the <FONT> tag.

                  <html>
                  <head>
                  <title> Using FONT tag </title>
                  </head>
                  <body>
                  <h1>The uses of the font tag and its
                      attributes.</h1>
                  <p> This tag is used to define various
                      properties of text. </p>
                  <p><b>For example: text face </b></p>
                  <p><font face = "Comic Sans MS">
                      HTML is a versatile tool for web
                                                                                        Using <FONT> tag
                      designing.</font></p>
                  <p>For example: text size</p>
                  <p><font size = "8"> HTML is a versatile tool for web designing.</font></p>
                  <p>For example: text colour</p>


                  16    Premium Edition-VII
   13   14   15   16   17   18   19   20   21   22   23