Page 34 - Modular_V1.1_Flipbook
P. 34

</head>

                  <body>
                  <h1>The uses of the font tag and its attributes.</h1>
                  <p> This tag is used to define various properties of text. </p>

                  <p><b>For example: text face </b></p>
                  <p><font face = "Comic Sans MS"> HTML is a versatile tool for web
                  designing.</font></p>

                  <p>For example: text size</p>
                  <p><font size = "8"> HTML is a versatile tool for web designing.
                  </font></p>

                  <p>For example: text colour</p>
                  <p><font color = "blue"> HTML is a versatile tool for web designing.
                  </font></p>

                  </body>
                  </html>

























                                                              Using Font Tag
                      THE <CENTER> TAG

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

                  We 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.




                  32      Touchpad MODULAR (Version 1.1)-IX
   29   30   31   32   33   34   35   36   37   38   39