TEST NAME: MMWD 4.01 TEST ID:2416218 GRADE:09 - Ninth Grade - 12 - Twelfth Grade SUBJECT:Computer and Information Sciences TEST CATEGORY: My Classroom MMWD 4.01 Page 1 of 23
Student: Class: Date: 1. Which tag defines the visible content of a web document? A. <body> B. <head> C. <meta> D. <title> 2. Which item refers to the start tag, the end tag and everything in between? A. HTML tag B. HTML attribute C. HTML element D. CSS 3. A properly coded HTML tag will always be found between which two symbols? A. ( ) B. { } C. [ ] D. <> 4. What document or section information contains introductory content or a set of navigational links for the web page? A. Header B. Footer C. Nav D. Div MMWD 4.01 Page 2 of 23
5. Which is the proper way to code an inline style attribute? A. color=blue B. color blue C. "color:blue" D. color=(blue) MMWD 4.01 Page 3 of 23
6. In the code below, which line of code will display the web document s title in a web browser? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>my Personal Web Page</title> 5 <style> 6 body {background-color:#3d5c99; color:white; font-family:verdana; margin:10px;) 7 h1 {font-family:verdana; color:#e6e6e6; text-align:center;} 8 h2 {font-family:verdana; color:#cccccc;} 9 p {font-family:verdana; color:white; font-size:18px:} 10 img {margin:8px; padding 4px;} 11 </style> 12 </head> 13 <body> 14 <div style="background-color:#25375c"> 15 <img src="banner.png" alt="web banner"> 16 <h1>welcome to My Web Page</h1> 17 <h2>3 Facts About Me</h2> 18 <ol> 19 <li>i have one brother.</li> 20 <li>i have a dog named Skip.</li> 21 <li>i have a cat named Taz.</li> 22 </ol> 23 <img src="school.png" alt="my school" style="float:left" width="100" height="100"> 24 <p>i attend Maple High School. My favorite course is Multimedia and Web Page Design. 25 I am learning to code HTML. I think it is fun to make web pages.</p> 26 </div> 27 <footer style="background-color:#121c2e; color:#c3c3c3; ext-align:center"> 28 Your Name Here--Date 29 </footer> 30 </body> 31 </html> A. Line 4 B. Line 15 C. Line 16 D. Line 25 MMWD 4.01 Page 4 of 23
7. Annie wants the name of her product to be the main heading at the top of her web page. Which code would be used to define the main heading for the product in a web page? A. <h1>product</h1> B. <h3>product</h3> C. <h5>product</h5> D. <h6>product</h6> 8. The World Wide Web Consortium (W3C) plays which role in the web development standards? A. It creates websites accessible to everyone. B. It develops the standards for HTML and CSS. C. It develops web browsers. D. It is the agency that controls the World Wide Web. 9. Sarah wants to create a web page displaying text in the Arial typeface. Which CSS inline style should be used? A. <body style= font:arial > B. <body font= style:arial > C. <body style= font-family:arial > D. <body family= face:arial > 10. Between which paired tags would the visible content of a web page be displayed? A. <html></html> B. <head></head> C. <title></title> D. <body></body> MMWD 4.01 Page 5 of 23
11. A designer would use which tag to create a web page with sections of specific styles? A. <Header> B. <Footer> C. <Nav> D. <Div> MMWD 4.01 Page 6 of 23
12. In the code below, what color will the heading, Welcome to My Web Page, display when viewed in a web browser? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>my Personal Web Page</title> 5 <style> 6 body {background-color:#3d5c99; color:white; font-family:verdana; margin:10px;) 7 h1 {font-family:verdana; color:#e6e6e6; text-align:center;} 8 h2 {font-family:verdana; color:#cccccc;} 9 p {font-family:verdana; color:white; font-size:18px:} 10 img {margin:8px; padding 4px;} 11 </style> 12 </head> 13 <body> 14 <div style="background-color:#25375c"> 15 <img src="banner.png" alt="web banner"> 16 <h1>welcome to My Web Page</h1> 17 <h2>3 Facts About Me</h2> 18 <ol> 19 <li>i have one brother.</li> 20 <li>i have a dog named Skip.</li> 21 <li>i have a cat named Taz.</li> 22 </ol> 23 <img src="school.png" alt="my school" style="float:left" width="100" height="100"> 24 <p>i attend Maple High School. My favorite course is Multimedia and Web Page Design. 25 I am learning to code HTML. I think it is fun to make web pages.</p> 26 </div> 27 <footer style="background-color:#121c2e; color:#c3c3c3; ext-align:center"> 28 Your Name Here--Date 29 </footer> 30 </body> 31 </html> A. #3D5C99 B. #E6E6E6 C. #CCCCCC D. #25375C MMWD 4.01 Page 7 of 23
13. When using a text editor, what file extension(s) must be used when saving as a web document? A..txt B..html or.htm C..doc D..css 14. What will display for lines 10 through 14 in the code below? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>html Introduction</title> 5 </head> 6 <body> 7 <h1>things I know about HTML</h1> 8 <hr> 9 <h2>3 Facts about HTML</h2> 10 <ul> 11 <li>html stands for Hypertext Markup Language.</li> 12 <li>the w3c makes recommendations that become Web standards.</li> 13 <li>the current HTML standard is html 5</li> 14 </ul> 15 <img src="http://www.w3.org/html/logo/img/html5-display.png"> 16 <br> 17 <a href="http://www.w3.org/">world Wide Web Consortium<a> 18 <br> 19 <video width="320" height="240" controls> 20 <source src="movie.mp4" type="video/mp4"> 21 Your browser does not support this video tag 22 </video> 23 <br> 24 <audio controls> 25 <source src="horse.mp3" type="audio/mpeg"> 26 Your browser does not support this video tag 27 </audio> 28 </body> 29 </html> A. Numbered list B. Bulleted list C. Hyperlink D. Audio MMWD 4.01 Page 8 of 23
15. Which tag will create a line break in a web document? A. <br /> B. <hr /> C. <h1 /> D. <li /> MMWD 4.01 Page 9 of 23
16. In the code below, how will the paragraph in lines 24 and 25 display when viewed in a web browser? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>my Personal Web Page</title> 5 <style> 6 body {background-color:#3d5c99; color:white; font-family:verdana; margin:10px;) 7 h1 {font-family:verdana; color:#e6e6e6; text-align:center;} 8 h2 {font-family:verdana; color:#cccccc;} 9 p {font-family:verdana; color:white; font-size:18px:} 10 img {margin:8px; padding 4px;} 11 </style> 12 </head> 13 <body> 14 <div style="background-color:#25375c"> 15 <img src="banner.png" alt="web banner"> 16 <h1>welcome to My Web Page</h1> 17 <h2>3 Facts About Me</h2> 18 <ol> 19 <li>i have one brother.</li> 20 <li>i have a dog named Skip.</li> 21 <li>i have a cat named Taz.</li> 22 </ol> 23 <img src="school.png" alt="my school" style="float:left" width="100" height="100"> 24 <p>i attend Maple High School. My favorite course is Multimedia and Web Page Design. 25 I am learning to code HTML. I think it is fun to make web pages.</p> 26 </div> 27 <footer style="background-color:#121c2e; color:#c3c3c3; ext-align:center"> 28 Your Name Here--Date 29 </footer> 30 </body> 31 </html> A. Verdana, white text, 30 pixels B. Verdana, #CCCCCC text color, center aligned C. Verdana, white text, 18 pixels D. Times New Roman, black text, 16 pixels MMWD 4.01 Page 10 of 23
17. Anthony is creating a web page on seals. To ensure that his page can be found through Google, Anthony must include pertinent information in which tag section? A. <meta> B. <head> C. <body> D. <nav> 18. John wants the name of his book to appear in Google's search results. In which tag should this information be placed within in his web page? A. <meta> B. <head> C. <body> D. <nav> 19. Karen wants to begin a new line within a paragraph of text on a web page. Which code should she use? A. <br /> B. <hr /> C. <h1></h1> D. <li></li> MMWD 4.01 Page 11 of 23
20. What is line 17 in the code below? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>html Introduction</title> 5 </head> 6 <body> 7 <h1>things I know about HTML</h1> 8 <hr> 9 <h2>3 Facts about HTML</h2> 10 <ul> 11 <li>html stands for Hypertext Markup Language.</li> 12 <li>the w3c makes recommendations that become Web standards.</li> 13 <li>the current HTML standard is html 5</li> 14 </ul> 15 <img src="http://www.w3.org/html/logo/img/html5-display.png"> 16 <br> 17 <a href="http://www.w3.org/">world Wide Web Consortium<a> 18 <br> 19 <video width="320" height="240" controls> 20 <source src="movie.mp4" type="video/mp4"> 21 Your browser does not support this video tag 22 </video> 23 <br> 24 <audio controls> 25 <source src="horse.mp3" type="audio/mpeg"> 26 Your browser does not support this video tag 27 </audio> 28 </body> 29 </html> A. Absolute reference B. Relative reference C. Nav D. Div MMWD 4.01 Page 12 of 23
21. In the code below, which line indicates the end of an HTML document? 1 <html> 2 <head> 3 <title>document title</title> 4 </head> 5 <body> 6 <p>this is content</p> 7 </body> 8 </html> A. Line 4 B. Line 6 C. Line 7 D. Line 8 22. What is the difference between an HTML tag and an HTML element? A. An HTML tag is case sensitive and an HTML element is not case sensitive. B. An HTML Tag defines content and an HTML element includes the opening and closing tags and everything in between. C. An HTML tag is always paired and an HTML element is an empty tag. D. An HTML tag defines content and an HTML element gives additional meaning and content. 23. Jerry wants to insert a line break into his web page. Which code should he use? A. <h1> B. <li> C. <br> D. <ul> MMWD 4.01 Page 13 of 23
24. In the code below, how will lines 18 through 22 display in a web browser? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>my Personal Web Page</title> 5 <style> 6 body {background-color:#3d5c99; color:white; font-family:verdana; margin:10px;) 7 h1 {font-family:verdana; color:#e6e6e6; text-align:center;} 8 h2 {font-family:verdana; color:#cccccc;} 9 p {font-family:verdana; color:white; font-size:18px:} 10 img {margin:8px; padding 4px;} 11 </style> 12 </head> 13 <body> 14 <div style="background-color:#25375c"> 15 <img src="banner.png" alt="web banner"> 16 <h1>welcome to My Web Page</h1> 17 <h2>3 Facts About Me</h2> 18 <ol> 19 <li>i have one brother.</li> 20 <li>i have a dog named Skip.</li> 21 <li>i have a cat named Taz.</li> 22 </ol> 23 <img src="school.png" alt="my school" style="float:left" width="100" height="100"> 24 <p>i attend Maple High School. My favorite course is Multimedia and Web Page Design. 25 I am learning to code HTML. I think it is fun to make web pages.</p> 26 </div> 27 <footer style="background-color:#121c2e; color:#c3c3c3; ext-align:center"> 28 Your Name Here--Date 29 </footer> 30 </body> 31 </html> A. Bulleted list B. Numbered list C. Definition list D. Table MMWD 4.01 Page 14 of 23
25. Which item shows proper syntax for an HTML comment? A. <!Comment: "Created by Joe"!> B.!Created by Joe! C. <!--Created by Joe--> D. <Created by Joe> 26. What tag defines the beginning of a web page? A. <h1> B. <p> C. <html> D. <title> 27. Which is an example of using an inline CSS style in a web page? A. <p style= color:blue > B. p {style=color;blue>} C. <p style=color;blue> D. p {style= color:blue } MMWD 4.01 Page 15 of 23
28. In the code below, what color will the heading 3 Facts About Me display when viewed in a web browser? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>my Personal Web Page</title> 5 <style> 6 body {background-color:#3d5c99; color:white; font-family:verdana; margin:10px;) 7 h1 {font-family:verdana; color:#e6e6e6; text-align:center;} 8 h2 {font-family:verdana; color:#cccccc;} 9 p {font-family:verdana; color:white; font-size:18px:} 10 img {margin:8px; padding 4px;} 11 </style> 12 </head> 13 <body> 14 <div style="background-color:#25375c"> 15 <img src="banner.png" alt="web banner"> 16 <h1>welcome to My Web Page</h1> 17 <h2>3 Facts About Me</h2> 18 <ol> 19 <li>i have one brother.</li> 20 <li>i have a dog named Skip.</li> 21 <li>i have a cat named Taz.</li> 22 </ol> 23 <img src="school.png" alt="my school" style="float:left" width="100" height="100"> 24 <p>i attend Maple High School. My favorite course is Multimedia and Web Page Design. 25 I am learning to code HTML. I think it is fun to make web pages.</p> 26 </div> 27 <footer style="background-color:#121c2e; color:#c3c3c3; ext-align:center"> 28 Your Name Here--Date 29 </footer> 30 </body> 31 </html> A. White B. #3D5C99 C. #E6E6E6 D. #CCCCCC MMWD 4.01 Page 16 of 23
29. What will display for lines 24 through 27 in the code below? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>html Introduction</title> 5 </head> 6 <body> 7 <h1>things I know about HTML</h1> 8 <hr> 9 <h2>3 Facts about HTML</h2> 10 <ul> 11 <li>html stands for Hypertext Markup Language.</li> 12 <li>the w3c makes recommendations that become Web standards.</li> 13 <li>the current HTML standard is html 5</li> 14 </ul> 15 <img src="http://www.w3.org/html/logo/img/html5-display.png"> 16 <br> 17 <a href="http://www.w3.org/">world Wide Web Consortium<a> 18 <br> 19 <video width="320" height="240" controls> 20 <source src="movie.mp4" type="video/mp4"> 21 Your browser does not support this video tag 22 </video> 23 <br> 24 <audio controls> 25 <source src="horse.mp3" type="audio/mpeg"> 26 Your browser does not support this video tag 27 </audio> 28 </body> 29 </html> A. Numbered list B. Bulleted list C. Hyperlink D. Audio MMWD 4.01 Page 17 of 23
30. What section of a web page contains the author of the document, copyright information, links to the terms of the use, contact information, etc. A. Header B. Footer C. Nav D. Div 31. Which tag defines the set of navigation links? A. <Header> B. <Footer> C. <Nav> D. <Div> 32. Which is the correct code to insert a horizontal line in a web page? A. <br> B. <h1> C. <hr> D. <li> 33. Which item interprets the source code in a web document? A. Web browser B. Text editor C. HTML editor D. Web server 34. Which hyperlink shows an absolute link? A. href= www.nytimes.com >NYTimes</a> B. <a href= page1.html >Page One</a> C. <a href= http://www.target.com >Target</a> D. <a href= offers.jpg >Offers</a> MMWD 4.01 Page 18 of 23
35. For line 17 in the code below, how will "World Wide Web Consortium" display on the web page? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>html Introduction</title> 5 </head> 6 <body> 7 <h1>things I know about HTML</h1> 8 <hr> 9 <h2>3 Facts about HTML</h2> 10 <ul> 11 <li>html stands for Hypertext Markup Language.</li> 12 <li>the w3c makes recommendations that become Web standards.</li> 13 <li>the current HTML standard is html 5</li> 14 </ul> 15 <img src="http://www.w3.org/html/logo/img/html5-display.png"> 16 <br> 17 <a href="http://www.w3.org/">world Wide Web Consortium<a> 18 <br> 19 <video width="320" height="240" controls> 20 <source src="movie.mp4" type="video/mp4"> 21 Your browser does not support this video tag 22 </video> 23 <br> 24 <audio controls> 25 <source src="horse.mp3" type="audio/mpeg"> 26 Your browser does not support this video tag 27 </audio> 28 </body> 29 </html> A. Numbered list B. Bulleted list C. Hyperlink D. Audio MMWD 4.01 Page 19 of 23
36. Tiffany is creating a multiple page website and wants consistency in appearance. Which CSS method permits her to update the appearance of all pages by changing one file? A. External style sheet B. Inline styles C. Internal style sheet D. CSS selectors 37. Which tag provides information about a website? A. <body> B. <html> C. <meta> D. <title> 38. What is the proper code to insert an image named frog.jpg into a web page? A. <img src= frog width= 104 height= 142 > B. <img src= frog.jpg width= 104 height= 142 > C. <img= frog.jpg width= 104 height= 142 > D. <img = frog width= 104 height 142 > MMWD 4.01 Page 20 of 23
39. In the code below, which line indicates the beginning of the visible content of the web page? 1 <html> 2 <head> 3 <title>document title</title> 4 </head> 5 <body> 6 <p>this is Content</p> 7 </body> 8 </html> A. Line 1 B. Line 2 C. Line 3 D. Line 5 MMWD 4.01 Page 21 of 23
40. What type of CSS is coded in line 14? 1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>my Personal Web Page</title> 5 <style> 6 body {background-color:#3d5c99; color:white; font-family:verdana; margin:10px;) 7 h1 {font-family:verdana; color:#e6e6e6; text-align:center;} 8 h2 {font-family:verdana; color:#cccccc;} 9 p {font-family:verdana; color:white; font-size:18px:} 10 img {margin:8px; padding 4px;} 11 </style> 12 </head> 13 <body> 14 <div style="background-color:#25375c"> 15 <img src="banner.png" alt="web banner"> 16 <h1>welcome to My Web Page</h1> 17 <h2>3 Facts About Me</h2> 18 <ol> 19 <li>i have one brother.</li> 20 <li>i have a dog named Skip.</li> 21 <li>i have a cat named Taz.</li> 22 </ol> 23 <img src="school.png" alt="my school" style="float:left" width="100" height="100"> 24 <p>i attend Maple High School. My favorite course is Multimedia and Web Page Design. 25 I am learning to code HTML. I think it is fun to make web pages.</p> 26 </div> 27 <footer style="background-color:#121c2e; color:#c3c3c3; ext-align:center"> 28 Your Name Here--Date 29 </footer> 30 </body> 31 </html> A. Inline CSS B. Internal CSS C. External CSS D. CSS declarations MMWD 4.01 Page 22 of 23
41. Which line of code correctly creates a link to Amazon s website? A. <a ref= http://www.amazon.com >Amazon</a> B. <href=http://www.amazon.com>amazon<a> C. <a href= http://www.amazon.com >Amazon D. <a href= http://www.amazon.com >Amazon</a> 42. Which line of code correctly places a GIF image named tiger into a web page? A. <img src= tiger alt= BengalTiger > B. <img gif=tiger alt= BengalTiger > C. <img src= tiger.gif alt= BengalTiger > D. <image source= tiger.gif alt= BengalTiger > 43. Which CSS inline style results in the text size of a web page paragraph displaying at 14px? A. <p style= font:14px > B. <p style= size:14px > C. <p font= size:14pt > D. <p style= font-size:14px > 44. John wants to insert a CSS comment identifying himself as the author. Which line of code correctly inserts a CSS comment? A. <--Written by John Doe--> B. /*Written by John Doe*/ C. /!--WrittenbyJohnDoe"/ D. <Writtenby="JohnDoe"> MMWD 4.01 Page 23 of 23