Page 32 - 2606_PlugGPT_C6_Flipbook
P. 32

REVISIT


                    ▶   HTML or HyperText Markup Language is the primary building block for creating a webpage.
                    ▶   HTML5 documents can be written in text editors like Notepad.
                    ▶   An HTML document is made up of various tags or elements.
                    ▶   A tag is a coded HTML command that indicates how a part of the document will be displayed on the web
                      browser.
                    ▶   An attribute is used to define some extra features or properties of an HTML tag.
                    ▶   CSS (Cascading Style Sheets) is a language used to describe how HTML documents should look and be
                      formatted.









                  1.  Tick ( ) the correct option.
                     a.  In HTML, each tag giving a specific instruction is enclosed within __________.

                         (i)  ( )                                     (ii)  < >
                        (iii)  { }                                   (iv)  [ ]
                     b.  What does the <TITLE> tag define in an HTML document?

                         (i)  The main content                        (ii)  The title displayed in the browser tab
                        (iii)  The background color                  (iv)  The document's metadata
                     c.  Which tag indicates the beginning and end of the HTML document?

                         (i)  <HEAD> ... </HEAD>                      (ii)  <BODY> ... </BODY>
                        (iii)  <TITLE> ... </TITLE>                  (iv)  <HTML> ... </HTML>
                     d.  Which of the following tags is used to insert a line break?

                         (i)  <BR>                                    (ii)  <P>
                        (iii)  <H1>                                  (iv)  <Hn>
                     e.  Which of the following is used to define the style for a single HTML page?
                         (i)  Inline CSS                              (ii)  Internal CSS

                        (iii)  External CSS                          (iv)  None of these
                     f.  Which part of the style sheet specifies the formatting to the selector?

                         (i)  Selector                                (ii)  Declaration
                        (iii)  Tags                                  (iv)  Bands

                  2.  Fill in the blanks using the words from the help box.
                                           Hypertext, CSS, Comments, External, <BODY>


                     a.  __________ are used to define styles for webpages.
                     b.  __________ is the text that can be linked to another document or text.

                     c.  __________ CSS allows us to define the style for many webpages by using a single CSS file.


                   30   Premium Edition-VI                                                                                                                                                                              Learn HTML5 and CSS3  31
   27   28   29   30   31   32   33   34   35   36   37