Page 76 - TP-Play_V-2.0_Book-7
P. 76

background-repeat:repeat-y;}
            H1 {background-color:green;
            text-align:center;}

            </STYLE>

            </HEAD>
            <BODY>
            <H1>Tiles</H1>

            </BODY>
            </HTML>






























                FONT PROPERTIES

            By using CSS, you can change the font face, colour, style and size. CSS provides various properties
            like font-family to change the font face, color to change the colour of font, font-style to make
            the text italic, font-weight to make the text bold, text-decoration to make the text underline or
            overline and font-size to change the size of font.

               Property                               Value                                  Description


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

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

                                                                                         Specifies the style of
             font-style     normal, italic
                                                                                         the font.




             76       Play (Ver. 2.0)-VII
   71   72   73   74   75   76   77   78   79   80   81