Page 181 - CA_165_V2.0_Flipbook
P. 181

</TITLE>

                   </HEAD>
                   <BODY>
                    <P STYLE="FONT-FAMILY:COSMO, VERDANA, TIMES, SERIF;">
                    THIS TEXT IS RENDERED IN EITHER COSMO, VERDANA TIMES, OR THE
                    DEFAULT SERIF FONT DEPENDING ON THE AVAILABILITY OF FONT IN THE
                            SYSTEM.

                    </P>
                   </BODY>

                 </HTML>















                 Font Style

                 The 'font-style' property is mostly used to make the text 'italic'. Other types of font styles are normal and
                 oblique.

                 Font Size

                 The 'font-size' property is used to increase or decrease the size of a font. Syntax to use the 'font-size' and
                 'font-style' properties is as follows:
                   <P STYLE="font-style:italic; font-size: font size in px;">

                   TEXT
                   </P>

                 <HTML>
                   <HEAD>
                    <TITLE>

                         FONT SIZE EXAMPLE
                    </TITLE
                   </HEAD>

                   <BODY>
                    <P STYLE="FONT-STYLE:ITALIC; FONT-SIZE:40PX;">
                        THIS TEXT WILL BE RENDERED IN ITALIC STYLE AND FONT SIZE OF 40PX.

                    </P>
                   </BODY>



                                                                                        Cascading Style Sheets   179
   176   177   178   179   180   181   182   183   184   185   186