Page 84 - C_GPT _V4 _class_6
P. 84

Recap



                           HTML is the most widely used language to design web pages.
                            Hypertext is a piece of ordinary text that has the special feature of linking one web page to another

                          document or web page.
                            Tags are the basic building blocks of a web page.
                            The tags that include both opening and closing tags are called Container Tags.
                            An attribute is a property that provides some additional information about a tag.
                            An HTML document is a text file containing markup tags.
                           CSS is a design language that is used to style web pages.

                            There are three ways to use CSS styles in an HTML document: inline CSS, internal CSS,
                          and external CSS.



                                                 Assess Yourself


                     Choose the correct option.

                      1.  Which of the following languages is used to create web pages?

                                a. HTML                                       b. English

                                c. Both a. and b.                             d. None of these

                      2.   Which of the following is the primary purpose of hypertext?

                                a. Displays static information                b. Creates dynamic animations

                                c. Links web pages                            d. Enhances text readability


                      3.   Which of the following is incorrect?
                                a. <html> </html>                             b. <body> </body>


                                c. </head> <head>                             d. <title> </title>

                      4.   Naren has used the following code in his web page:
                         body{background-color: #AAFFHH;}

                         What does #AAFFHH represent in the above code?
                                a. Colour Name                                b. Hexadecimal code for colour


                                c. It is just a text                          d. None of the above

                      5.    Anita wants to change the look and feel of all the web pages of a website. Which method of using CSS
                         will you suggest to her?
                                a. Inline CSS                                 b. Internal CSS


                                c. External CSS                               d. Not possible in CSS





                 82     CodeGPT (Ver. 4.0)-VI
   79   80   81   82   83   84   85   86   87   88   89