Page 69 - CA 165 ver 1.0 Class 10
P. 69

For example:

                   Here (n) denotes heading size i.e., from 1 to 6



                         <HTML>
                         <HEAD>
                         <TITLE>  Using Headings </TITLE>
                         </HEAD>
                         <BODY BGCOLOR =“Aqua”>
                         <H1>ORANGE EDUCATION</H1>
                         <H2>ORANGE EDUCATION</H2>
                         <H3>ORANGE EDUCATION</H3>
                         <H4>ORANGE EDUCATION</H4>         ORANGE EDUCATION
                         <H5>ORANGE EDUCATION</H5>
                         <H6>ORANGE EDUCATION</H6>
                         </BODY>                           ORANGE EDUCATION
                         </HTML>
                                                           ORANGE EDUCATION

                                                           ORANGE EDUCATION
                                                           ORANGE EDUCATION
                                                           ORANGE EDUCATION
                           Text appears in Heading of
                              different font sizes


                   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. Syntax to use them is
                 as follows:

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

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






                                                                                         Introduction to HTML    67
   64   65   66   67   68   69   70   71   72   73   74