COMPUTER Class 6 REVISION (HTML-additional)

FILL IN THE BLANKS: 1. The home page is the first page of a web site. 2. Notepad is a text editor that can be used for creating HTML documents. 3. A web browser is used to view HTML documents. 4. Attributes are extra bits of information that appear inside tags. 5. A BR tag is used to skip a line. 6. A server is a computer on the Internet that is used for storing and running a web site. 7. A web site consists of web pages that are written in HTML (Hypertext Markup Language). 8. A web page is a document written in HTML. 9. The main section contains the headings, whereas the subsections contain the content. 10. FrontPage and are two of the popular WYSIWYG HTML editors. 11. Shortcut key to open a file is Ctrl + O. 12. and FireFox are the two web browsers. 13. An HTML tag always begins with < sign and ends with a > sign. 14. The shortcut key to display the menu on the Internet Explorer is ALT key. 15. The tag for underlining text is tag. 16. The


tag is used to draw a horizontal line. 17. Attributes are always specified inside the start tag. 18. In the future versions of HTML, lowercase tag names and attribute names will be mandatory. 19. Tag names cannot contain spaces. 20. Elements can be nested in HTML.

STATE WHETHER TRUE OR FALSE.

1. When we create HTML documents with Notepad, we save them with a .txt extension. (FALSE) (We save them with a .html or .htm extension) 2. An OFF tag looks the same as the ON tag except that it has a forward slash before the command. (TRUE) 3. Spaces or paragraphs between the opening and closing tags do not affect what the browser displays. (TRUE) 4. HTML elements that do not require an OFF tag are called container elements. (FALSE) (They are called empty elements) 5. The TITLE element of the web page is included in the BODY element. (FALSE) (It is included in the HEAD element) WRITE ONE WORD FOR THE FOLLOWING: 1. The HTML element that contains text and images that are displayed in the browser. (BODY element) 2. The HTML element that contains information about the document. (HEAD element) 3. The element that contains the whole HTML document. (HTML element) 4. BGCOLOR is an attribute of this element. (BODY element) 5. The attribute that specifies the color of text on the web page. (TEXT) CHOOSE THE CORRECT OPTION: 1. Which of the following is a text editor? a. Notepad b. Dreamweaver c. Internet Explorer d. None of these 2. What are the components that make up an HTML code? a. Tags b. Elements c. Attributes d. All of these 3. Which is the correct way of writing an element name? a. b. c. Either a or b d. None of these 4. What do we call HTML elements that have both ON and OFF tags? a. Empty elements b. Container elements c. Elements d. None of these 5. Which is the element that has identification and supplementary information about the web document? a. HEAD b. HR c. BODY d. None of these 6. Which is the tag that we use to insert a line break? a. b. c.
d. None of these 7. Which of the following is not a container tag? a. b.


c. d. 8. The property that specifies whether the background image is fixed or scrolls is? a. MARGIN b. LEFTMARGIN c. LMARGIN d. None of these </p><p>ANSWER THE FOLLOWING: 1. What are the three different parts of a <a href="/tags/Website/" rel="tag">website</a>? The home page, main sections, and subsections are the three different parts of a website. 2. Name two types of HTML editors. WYSIWYG HTML editor and Text editor are the two types of HTML editors. 3. Write two advantages of WYSIWYG HTML editors. Following are the two advantages of WYSIWYG editors: a. Web sites can be created quickly. b. Knowledge of HTML tags or commands is not required. 4. What are the two distinct parts of an HTML document? The head and the body are the two distinct parts of an HTML document. 5. Differentiate between container elements and empty elements. Container elements are the HTML elements that include both ON and OFF tags. Examples are HTML, HEAD, FONT, etc. Empty elements are the HTML elements that do not require an OFF tag. Examples are BR, HR, etc. 6. What is the use of the BODY tag? The BODY tag contains all the text and images that make up the page. It also contains other elements that help us control and format the page. 7. Write any three attributes of the BODY tag. Give their uses. Following are the three attributes of the BODY tag: a. BGCOLOR: Used to set the background color of the document. b. TEXT: Used to set text color in the document. c. TOPMARGIN: Used to set the top margin. 8. Are element names case sensitive? No, the element names are not case sensitive. 9. What is a web browser? A web browser is a program that reads HTML documents, converts them to a form that users can understand, and displays them on a computer screen. 10. What is a website? A website is a collection of linked web pages with related information. 11. What is the WWW (World Wide Web)? The WWW, or simply the Web, is the world-wide collection of publicly accessible web pages stored on computers connected to the Internet. 12. What is HTML? HTML is a computer language used to create web pages for display on the World Wide Web. </p> </div> </article> </div> </div> </div> <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js" crossorigin="anonymous" referrerpolicy="no-referrer"></script> <script> var docId = '2ba5f1ef77926a20ecb7d507e67ef4c3'; var endPage = 1; var totalPage = 5; var pfLoading = false; window.addEventListener('scroll', function () { if (pfLoading) return; var $now = $('.article-imgview .pf').eq(endPage - 1); if (document.documentElement.scrollTop + $(window).height() > $now.offset().top) { pfLoading = true; endPage++; if (endPage > totalPage) return; var imgEle = new Image(); var imgsrc = "//data.docslib.org/img/2ba5f1ef77926a20ecb7d507e67ef4c3-" + endPage + (endPage > 3 ? ".jpg" : ".webp"); imgEle.src = imgsrc; var $imgLoad = $('<div class="pf" id="pf' + endPage + '"><img src="/loading.gif"></div>'); $('.article-imgview').append($imgLoad); imgEle.addEventListener('load', function () { $imgLoad.find('img').attr('src', imgsrc); pfLoading = false }); if (endPage < 5) { adcall('pf' + endPage); } } }, { passive: true }); if (totalPage > 0) adcall('pf1'); </script> <script> var sc_project = 11552861; var sc_invisible = 1; var sc_security = "b956b151"; </script> <script src="https://www.statcounter.com/counter/counter.js" async></script> </html>