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

<HEAD>

                  <TITLE>DIV TAG EXAMPLE</TITLE>
                  </HEAD>
                  <BODY>

                  <DIV>
                  <H1><B><I><U>WELCOME</U></I></B></H1>

                  <P STYLE="FONT-FAMILY: Arial, sans-serif;">
                  This text uses the Arial font family.
                  </P>

                  <P STYLE="FONT-SIZE: 16px;">
                  This text has a font size of 16px.

                  </P>
                  <P STYLE="COLOR: BLUE;">
                  This text is displayed in blue color.

                  </P>
                  </DIV>

                  </BODY>
                  </HTML>



















                                                           Using The <DIV> Tag

                     DESIGNING A WEB PAGE

                  You have now learnt some of the basic HTML tags. Let us now create the next web page by using
                  some of these tags.
                  Type  the  following  HTML  code  in  the  Notepad  window  and  save  the  file  with  the  name

                  Environment.html:
                         <!DOCTYPE HTML>

                         <HTML>
                         <HEAD>

                         <TITLE> Note on Environment </TITLE>
                   56
                          Touchpad MODULAR (Ver. 2.0)
   53   54   55   56   57   58   59   60   61   62   63