Page 54 - PlugGPT_V2.0_C7_Flipbook
P. 54

<p>This is the first paragraph of the tag. HTML is the standard markup
                  language for Web pages. </p>
                  <hr>

                  <p>This is the second paragraph of the tag.HTML is the standard markup
                  language for Web pages.</p>
                  <hr>
                  </BODY>
                  </HTML>












                  The <SUP> Tag

                                                                                                            2
                  The <SUP> tag is used to turn the enclosed text into a superscript. For example, E=mc  is coded
                  as  E=mc<sup>2</sup>
                  The <SUB> Tag

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

                      TEXT PROPERTIES

                  Text properties are used to change the appearance of the text. Text Properties can be added to
                  HTML code by either Internal Styling, that is using <STYLE> </STYLE> tags or by Inline Styling,
                  that is using Style attribute within any HMTL tag. The properties and their values used with the
                  style attribute are given below:

                     Property             Value                       Description                      Example
                                  Name of the colour  Specifies the text colour to be used  color: red; color:
                   color
                                  or RGB code            on the web page.                        rgb(0,0,255);

                                  left, right, center,
                   text-align                            Specifies the alignment of the text. text-align: center;
                                  justify
                                                         Specifies the indentation of the first
                                                         line of the text. Indentation is the
                                  length in pixels or                                            text-indent: 50px;
                   text-indent                           blank space between the margin
                                  percentage                                                     text-indent: 30%;
                                                         and the beginning of a line in a text
                                                         block.

                   text-          underline, overline  Specifies  the  text  effects  like  text-decoration:
                   decoration     or strike-through      underline, over line or strike-through. underline;




               52       Premium Edition-VII
   49   50   51   52   53   54   55   56   57   58   59