Page 57 - modular_v2.0_HTML&_CSS_Fb
P. 57

For example: Font Style

                 </B>
                 </P>
                 <P STYLE="FONT-STYLE: ITALIC;">

                 This text is displayed in font style: italic.
                 </P>

                 <P>
                 <B>
                 For example: Font Color

                 </B>
                 </P>

                 </BODY>
                 </HTML>


































                                                         Using Font Properties
                    THE <DIV> TAG


                 The <DIV> (Division) tag is a block-level container used to group HTML elements for styling
                 and layout purposes. It doesn’t have any predefined styling but is highly useful when combined
                 with CSS.
                 The following HTML code demonstrates the use of the <DIV> tag:

                 <!DOCTYPE HTML>
                 <HTML>



                                                                                                                55
                                                                                        Formatting a Web Page
   52   53   54   55   56   57   58   59   60   61   62