Direction: Read the questions carefully. NO ERASURES. Test I. Encircle the letter of the correct answer. (30pts) 1. It is the standard markup language for creating web pages. a. HTML b. XTML c. SGML d. XML 2. It is the root element of an HTML page. a. <html> b. <head> c. <title> d. <body> 3. It is an element that specifies a title for the document. a. <html> b. <head> c. <title> d. <body> 4. It is an element that contains the visible page content. a. <html> b. <head> c. <title> d. <body> 5. It is an element that contains Meta information about the document. a. <html> b. <head> c. <title> d. <body> 6. It is an element that defines a paragraph. a. <br> b. <h1> c. <hr> d. <p> 7. It is an element that defines the document body. a. <p> b. <head> c. <body> d. <title> 8. It is an element that defines a heading. a. <h1> b. <p> c. <br> d. <html> 9. It is an empty element that defines a line break. a. <h1> b. <p> c. <br> d. <html> 10. What is used in reading HTML documents and display them? a. Notepad b. Notepad ++ c. Web Browsers d. Spotify 11. What is used in creating and modifying web pages? a. Notepad b. Notepad ++ c. Web Browsers d. Spotify 12. HTML tags normally come in pairs. The first tag in a pair is called _________. a. End tag b. Start tag c. Opening tag d. Closing tag 13. HTML tags normally come in pairs. The second tag in a pair is called _________. a. End tag b. Start tag c. Opening tag d. Closing tag 14. HTML links are defined with the _______ tag. a. <p> b. <src> c. <a> d. <img> 15. HTML images are defined with the __________ tag. a. <p> b. <src> c. <a> d. <img> 16. These are used in providing additional information about HTML elements. a. Tags b. Elements c. Attributes d. Links 17. It is an attribute which declares the language of the document. a. title b. lang c. href d. size 18. It is an attribute that is added to the <p> element which will be displayed as a tooltip when you mouse over a paragraph. a. title b. lang c. href d. size 19. HTML links are defined with the <a> tag. The link address is specified in the _________ attribute. a. title b. lang c. href d. size 20. It is an attribute that specifies an alternative text to be used, when an image cannot be displayed. a. alt b. disabled c. src d. id 21. It is an attribute the URL (web address) for an image. a. alt b. disabled c. src d. id 22. It is an attribute that specifies that an input element should be disabled. a. alt b. disabled c. src d. id 23. It is a tag that defines a thematic break in an HTML page, and is most often displayed as a horizontal rule. a. <h1> b. <br> c. <hr> d. <p> 24. Tags that don’t have any end tags are called _________. a. Full tags b. Opening Tags c. Empty Tags d. Closing tags 25. It is an element that defined preformatted text. a. <post> b. <pre> c. <p> d. <br> 26. It is a style attribute property that defines the background color for an HTML element. a. Background – image c. font – family b. Background – color d. color 27. It is a style attribute property that defines the text color for an HTML element. a. Background – image c. font – family b. Background – color d. color 28. It is a style attribute property that defines the font to be used for an HTML element. a. Background – image c. font – family b. Background – color d. color 29. It is a style attribute property that defines the text size for an HTML element. a. Text – alignment c. font – family b. Text – size d. color 30. It is a style attribute property that defines the text alignment for an HTML element. a. Text – alignment c. font – family b. Text – size d. color
Test II. Enumeration. Can be interchanged. (25x2=50pts)
1 – 6. Give the six heading levels. 1. 2. 3. 4. 5. 6. 7 – 10. Give the four main parts of an html document. (Give the start tag and end tag) 7. 8. 9. 10. 11 – 15. Give at least five attributes used in coding HTML. 11. 12. 13. 14. 15. 16 – 20. Give the five style attribute properties. 16. 17. 18. 19. 20. 21 – 25. Give at least five formatting elements. 21. 22. 23. 24. 25.
Test III. Give the HTML Code of the output below. Write the code at the right side of the output. (20pts)
Output: Code here:
“DON’T BE THE SAME, BE BETTER.” God bless! Shaka!