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

The <FONT> tag including <SMALL> and <BIG>  are used in relation to the font size  as set by the
                  <BASEFONT> tag.  This tag  has no  effect  on the  text  headings  (such  as the  <H1>, <H2>) tags.  The
                  following three attributes are used with this tag:
                    COLOR                       SIZE                       FACE

                  COLOR  Attribute
                  This attribute of <BASEFONT> tag is used to assign a colour which becomes the default colour for the
                  text of entire HTML document. Syntax to use the COLOR attribute of the <BASEFONT> tag is as follows:

                    <BASEFONT COLOR = “COLOR NAME” OR “#RRGGBB ”>
                  For example:

                    <BASEFONT COLOR= “Purple”>

                  SIZE Attribute
                  This attribute of <BASEFONT> tag is used to set any possible font size from 1 to 7, which becomes the
                  default font size for entire HTML document, although the default font size for normal body text is ‘3’.
                  Syntax to use the SIZE attribute of the <BASEFONT> tag is as follows:

                    <BASEFONT SIZE= “Value”>
                  For example:

                    <BASEFONT SIZE= “5”>

                  FACE Attribute
                  This attribute of <BASEFONT> tag is used to assign a new font face (that becomes the default font) for
                  the text of entire HTML document, although the default font is ‘TIMES NEW ROMAN’. Syntax to use the
                  FACE attribute of the <BASEFONT> tag is as follows:

                    <BASEFONT FACE= “FONT NAME”>
                  For example:

                    <BASEFONT FACE= “IMPACT”>



                                                                              Base Font set as:
                             <HTML>
                             <HEAD>                                        Color - Purple, Size - 5
                             <TITLE>  Using BASEFONT & its Attributes </TITLE>  Face - Impact
                             </HEAD>
                             <BODY>
                             <BASEFONT FACE= “Impact”COLOR= “BLUE” SIZE= 5>
                             ORANGE EDUCATION
                             </BODY>
                             </HTML>
                                                                ORANGE EDUCATION




                  <CENTER> Tag

                  This is a container tag. It is used to align the text, picture, table, etc in center of the screen.

                    <CENTER> Text  </CENTER>
                  For example:

                    <CENTER> ORANGE EDUCATION</CENTER>


                    62   Touchpad Computer Applications-X
   59   60   61   62   63   64   65   66   67   68   69