Page 109 - CodePilot V5.0 C6
P. 109

5.  Spot the tag that is used to define a new paragraph.

                              (i)  <BR>                                (ii)  <P>

                              (iii)  <DIV>                             (iv)  <HR>

                 B.  Write T for true and F for false.

                    1.  The <H6> tag defines the largest heading in HTML.

                    2.  HTML is a programming language.

                    3.  The <DOCTYPE HTML> declaration tells the browser that the document is written in HTML5.

                    4.  Attributes in HTML are always written in the closing tag.


                    5.  The <HR> tag is used to display a horizontal line.

                 C.  Fill in the blanks using the given hints:
                                                                                                            Hints
                    1.  A collection of related web pages under one address is called a             .
                                                                                                           Notepad
                    2.                  is the default text editor in Windows 11.                         Container
                                                                                                             tags
                    3.  Tags that include both opening and closing tags are called             .
                                                                                                           <BODY>
                    4.  Tag names must be enclosed in                  brackets.
                                                                                                           Website
                    5.   The                tag defines the section of the HTML document that is visible    Angle
                        in the web browser.

                 D.  Answer the following questions:

                    1.  Differentiate between a web page and a website.






                    2.  What is the function of the <HEAD> tag?






                    3.  Explain the nesting of tags with an example.







                    4.  Write the difference between container tags and empty tags.













                                                                                                                  107
                                                                                             HTML5–Getting Started
   104   105   106   107   108   109   110   111   112   113   114