Page 69 - CA_165_V2.0_Flipbook
P. 69

21 st   #Technology Literacy
                                                 Lab Assignment ‘n Activity                     Century   #Creativity
                                                                                                 Skills


                    Complete the following activity and tick on the circle.

                      Write an HTML code to achieve the following output in a web browser:
                         The text color should be blue.        The background color should also be light blue.
                         The top margin should be 50 pixels.    The left margin should be 50 pixels.













                         After creating the web page, change the background colour to background image.





























                   PRESENTATION TAGS

                 HTML provides various presentation tags that help in enhancing the appearance of the web page. Let us
                 learn about some of them in detail.

                                                            <FONT> Tag
                      Type            Function            Attributes           Contains             Used Inside
                  Container tag   Applies size, color,  COLOR, SIZE, FACE  Text content to be  Typically placed
                                  and face to the                          styled.             within <BODY> or
                                  text.                                                        other container tags.

                 <FONT> Tag

                 This is a container tag. It is used to set the text colour, text size and typeface of an HTML page. In this tag,
                 the following attributes can be used:

                   COLOR        SIZE        FACE

                                                                                         Introduction to HTML    67
   64   65   66   67   68   69   70   71   72   73   74