Page 85 - TP_Play_V2.1_class7
P. 85

<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 or  Specifies  the  text  colour  to  color: red; color:
                  color
                                    RGB code                 be used on the web page.          rgb(0,0,255);

                                    left, right, center,     Specifies the alignment of the
                  text-align                                                                   text-align: center;
                                    justify                  text.

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







                                                                                            More on HTML5         83
   80   81   82   83   84   85   86   87   88   89   90