10.07.2015 Views

Building the User Interface by Using HTML5: Text, Graphics ... - server

Building the User Interface by Using HTML5: Text, Graphics ... - server

Building the User Interface by Using HTML5: Text, Graphics ... - server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Building</strong> <strong>the</strong> <strong>User</strong> <strong>Interface</strong> <strong>by</strong> <strong>Using</strong> <strong>HTML5</strong>: <strong>Text</strong>, <strong>Graphics</strong>, and Media | 517. Both canvas and SVG require which of <strong>the</strong> following?a. Microsoft Silverlightb. An external drawing program, such as Microsoft Paintc. A large amount of storage space or bandwidthd. JavaScriptLICENSED PRODUCT NOT FOR RESALE8. When deciding whe<strong>the</strong>r to use canvas or SVG, which of <strong>the</strong> following considerationsare true?a. If <strong>the</strong> drawing is relatively small, use SVG.b. Generally, use canvas for small screens and SVG for larger screens.c. If <strong>the</strong> drawing requires a large number of objects, use SVG.d. If you must create highly detailed vector documents that must scale well, go withcanvas.9. Which of <strong>the</strong> following is <strong>the</strong> general format of <strong>the</strong> video element?a. b. c. d. 10. Which of <strong>the</strong> following is <strong>the</strong> general format of <strong>the</strong> audio element?a. b. c. d. True / FalseCircle T if <strong>the</strong> statement is true or F if <strong>the</strong> statement is false.T F 1. The canvas element requires JavaScript to create shapes.T F 2. Creating an SVG object in <strong>HTML5</strong> does not require JavaScript.T F 3. The audio element can provide playback controls with a single attribute.T F 4. Deprecated elements cannot render in an <strong>HTML5</strong>-supported browser.T F 5. The most popular format for audio files is MP4.■ Competency AssessmentScenario 2-1: Correcting Simple Markup ErrorsGeraldine, <strong>the</strong> assistant to <strong>the</strong> company owner, is learning HTML. Her markup as shownbelow isn’t rendering as she expected. The boldface doesn’t stop after “Thursday.” The imageof <strong>the</strong> company logo doesn’t display, even though it’s saved in her images subfolder like all ofher o<strong>the</strong>r images. The alternate text doesn’t display ei<strong>the</strong>r when she hovers her mouse pointerover <strong>the</strong> image placeholder. What do you tell her?Internal

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!