Page 68 - CA_165_V2.0_Flipbook
P. 68

Do you know?


                      Pixel stands for "Picture Element".  A pixel is a single point in a graphic  image. Graphics monitors
                      display pictures by dividing the display screen into thousands (or millions) of pixels, arranged in rows
                      and columns. On coloured monitors, each pixel is actually composed of three dots a red, a blue and
                      a green one.

                  Hence the complete Syntax of BODY tag along with its all discussed attributes is:

                     <BODY BGCOLOR="#RRGGBB" TEXT="#RRGGBB" BACKGROUND="IMAGE_FILENAME.
                     EXTENSION" LINK="#RRGGBB" ALINK="#RRGGBB" VLINK="#RRGGBB"
                     LEFTMARGIN="VALUE" TOPMARGIN="VALUE">
                  The following table lists all the attributes of the <BODY> tag, their possible values, and a description of
                  their purpose:

                      Attribute Name                   Value                              Description

                   BGCOLOR                  Colour name or hex values     Specifies the background colour of the web
                                                                          page.
                                                                                            Not supported in HTML5

                   TEXT                     Colour name or hex value      Specifies the colour of the normal text on the
                                                                          web.

                                                                                            Not supported in HTML5
                   BACKGROUND               URL of an image               Specifies  an  image  file  to  be  used  as  the
                                                                          background of the web page.
                                                                                            Not supported in HTML5

                   LINK                     Colour name or hex value      Specifies  the  colour  of  unvisited  hyperlinks
                                                                          on the web page.
                                                                                            Not supported in HTML5
                   ALINK                    Colour name or hex value      Specifies  the  colour  of  active  hyperlinks
                                                                          (while being clicked).

                                                                                            Not supported in HTML5
                   VLINK                    Colour name or hex value      Specifies the colour of visited hyperlinks.

                                                                                            Not supported in HTML5
                   LEFTMARGIN               Numeric value (in pixels)     Specifies the left margin (space) of the web
                                                                          page content from the left edge.
                                                                                            Not supported in HTML5

                   TOPMARGIN                Numeric value (in pixels)     Specifies the top margin (space) of the web
                                                                          page content from the top edge.
                                                                                            Not supported in HTML5









                    66   Touchpad Computer Applications-X
   63   64   65   66   67   68   69   70   71   72   73