HTML-Additional)
Total Page:16
File Type:pdf, Size:1020Kb
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. Microsoft FrontPage and Adobe Dreamweaver are two of the popular WYSIWYG HTML editors. 11. Shortcut key to open a file is Ctrl + O. 12. Internet Explorer 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 <U> tag. 16. The <HR> 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. <html> b. <HTML> 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. <BREAK> b. <LINE> c. <BR> d. None of these 7. Which of the following is not a container tag? a. <FONT> b. <HR> c. <BODY> d. <TITLE> 8. The property that specifies whether the background image is fixed or scrolls is? a. MARGIN b. LEFTMARGIN c. LMARGIN d. None of these ANSWER THE FOLLOWING: 1. What are the three different parts of a website? 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. .