Page 86 - TechPluse_C7_Flipbook
P. 86

The <CENTER> Tag

                  In the previous sections, you have used the ALIGN attribute to align the text to center. HTML also
                  provide the <CENTER> tag which allows you to align the text in center. The <CENTER> does not
                  have any attribute.

                  You can use the <CENTER> tag in the following way:
                                     <center> text to be align in center </center>

                      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:

                         <html> <head>
                         <title> Note on Environment </title>

                         </head>
                         <body bgcolor="yellow">

                           <font face="Ebrima" size="6" color="red">
                         <u> <b><p align="center">Web Page on Environment </p></b></u>
                         </font>

                         <h2> Environment </h2>
                         <font face="ms sans serif" color="black">

                           <b> Environment</b>  is  everything  that  is  <i>around  us</i>.  It  can
                         be living (<u>biotic</u>) or non-living (<u>abiotic</u>) things. It
                         includes  physical,  chemical  and  other  natural  forces.  <br>Living
                         things live in their environment. They constantly interact with it

                         and adapt themselves to conditions in their environment. </font>




               84       Premium Edition-VII
   81   82   83   84   85   86   87   88   89   90   91