Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 29 - CoreGPT(Podar)_Flipbook_C8
P. 29

    Following HTML web page uses the <B>, <I> and <U> tags:

                     <html>
                     <head>

                     <title> Applying styles </title>
                     </head>

                     <body>
                     <h1>The uses of Bold, Italic and Underline tag </h1>

                     <p> This is a normal text without the use of Bold, Italic or Underline
                     tag</p>
                     <p><b>This text is in bold.</b></p>

                     <p><i>This text is in italics.</i></p>
                     <p><u>This text is underlined.</u></p>

                     </body>

                     </html>

                                                                Using styles tags
                     The <SUP> Tag

                     The superscript tag is written as <SUP>. This tag is used to turn the enclosed text into a superscript.

                                         2
                     For example, E=mc  is coded as  E=mc<sup>2</sup>
                     The <SUB> Tag

                     The subscript tag is written as <SUB>. This tag is used to turn the enclosed text into a subscript.
                     For example, H O is coded as  H<sub>2</sub>O
                                    2
                     <html>
                     <head>

                     <title> Superscript and Subscript </title>
                     </head>
                     <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>

                                                                                              Introduction to HTML       27

| 24 25 26 27 28 29 30 31 32 33 34 |