Page 85 - CA_165_V2.0_Flipbook
P. 85

The output of the preceding HTML code is as follows:






















                                      Text appears in Heading of different font sizes

                 The following table lists all the attributes of the <H1> to <H6> tag, their possible values, and a description
                 of their purpose:

                     Attribute Name                   Value                              Description
                  ALIGN                   LEFT, RIGHT, CENTER            Specifies the alignment of the heading text.

                                                                                           Not supported in HTML5

                   CHARACTER FORMATTING TAGS

                 In HTML, there are many character formatting tags which are also called font-style tags. These tags help
                 to change the appearance of text with their predefined effects.
                 Some frequently used text highlighting tags are:

                      <B>            or     <STRONG>              The Bold tag
                      <I>            or     <EM>                  The Italics tag
                       <U>                                        The Underline tag

                      <S>            or     <Strike>              The Strikethrough tag
                       <SUP>                                      The Superscript tag
                       <SUB>                                      The Subscript tag

                 <B> or <STRONG> Tags

                 <B> or <STRONG>  are container tags. These tags are used to make the text bold. The syntax for using
                 the <B> tag is as follows:

                   <B> or <STRONG> Text </B> or </STRONG>
                 For example:

                   ORANGE EDUCATION, <B> INDIA </B>
                 Output:

                    ORANGE EDUCATION, INDIA






                                                                                         Introduction to HTML    83
   80   81   82   83   84   85   86   87   88   89   90