Page 94 - TP_Prime_v2.2_Class_6
P. 94

<HEAD>

                  <STYLE>
                  BODY {background-image: url(“D:\tile.png”);

                  background-repeat:repeat-y;}

                  H1 {background-color:green;
                  text-align:center;}
           Prime (Ver. 2.2)-VI  </HEAD>
                  </STYLE>



                  <BODY>
                  <H1>Tiles</H1>

                  </BODY>

                  </HTML>
          92
























                     Font Properties


                  By using CSS, you can change the font face, colour, style and size. Some font properties

                  with their values are given in the table:

                   Property        Value                                       Description

                   font-family     Name of the font                            Specifies the font to be used.

                                   Value is given in pixels. The default       Specifies the font size used on the
                   font-size
                                   font size for the text is 16 px.            web page.
                   font-style      normal, italic                              Specifies the style of the font.

                                                                               Specifies how thick or thin characters
                   font-weight     normal, bold, bolder, lighter
                                                                               in text should be displayed.
   89   90   91   92   93   94   95   96   97   98   99