Page 78 - CA_165_V2.0_Flipbook
P. 78

21 st
                                                 Lab Assignment ‘n Activity                      Century   #Technology Literacy
                                                                                                      #Creativity
                                                                                                  Skills
                    Complete the following activities and tick on the circles.

                      Write HTML code to generate a web page in the format and style as given below:
                          Title of the page should be "WORLD OF COMPUTER".
                          Background colour should be "SILVER".
                           Basefont face in the page should be "ARIAL", colour should be "BLUE" and size should be
                           "6".
                          Text should be aligned to the "center".
                      Write HTML code to design a web page with the following details:
                          Title of the page should be "MY LIFESTYLE".
                           All content should be ‘Times New Roman’, Font colour should be ‘Red’ and size should be ‘4’.
                          Entire text of the document should be ‘Center’ aligned.
                          Background color should be ‘Black’.


                  The <HR> Tag

                  This is an empty tag. It is used to add shaded horizontal lines across a web page. It is generally used to
                  separate two different items in a document. HR stands for ‘Horizontal Rule’.

                                                               <HR> Tag
                        Type             Function            Attributes            Contains           Used Inside
                   Empty tag         Creates a horizontal  WIDTH, SIZE,       No content, as it is  Typically placed
                                     line.               ALIGN, NOSHADE,      a self-closing tag.  within <BODY>
                                                         COLOR                                     or other container
                                                                                                   tags.
                  The following attributes can be used along with this tag to organise its appearance:

                       SIZE                             NOSHADE                             WIDTH
                       ALIGN                            COLOR
                  The following HTML code uses the <HR> tag to insert a horizontal line between text:

                  <HTML>
                  <HEAD>
                  <TITLE> Using HR Tag </TITLE>

                  </HEAD>
                  <BODY BGCOLOR = "YELLOW" TEXT = "RED">
                  ORANGE EDUCATION
                  <HR>

                  A Complete Computer Applications Reference Book
                  </BODY>
                  </HTML>




                    76   Touchpad Computer Applications-X
   73   74   75   76   77   78   79   80   81   82   83