Monday 11 September 2017

Microsoft 70-480 Questin Answer

You are developing an HTML5 web application for a surveyor company that displays topographic images.
The application must:

Display the topographic images at different zoom levels without loss of detail
Print the topographic images without loss of detail Work from only one source file for each topographic image
You need to ensure that the topographic images display according to the requirements.
Which HTML5 element should you use?

A. SVG
B. CANVAS
C. SAMP
D. AREA

Answer: A


You troubleshoot a webpage that contains the following HTML element:
<canvas id= "clickCanvas" width="300"> height= "300">Your browser does not support the HTML5 canvas.</canvas>
The following JavaScript code is included in a script tag in the HEAD section of the webpage:
(Line numbers are included for reference only.)




You need to invoke the clickReporter() JavaScript function when a user clicks the mouse on the canvas HTML element.
What should you do?

A. Add the following attribute to the canvas HTML element:
clicked= "clickReporter()"
B. Replace the code segment at line 06 with the following code segment:
drawBox.Click += clickReporter;
C. Insert the following code segment at line 07:
canvas.onclick = clickReporter;
D. Insert the following code segment at line 07:
canvas, click = clickReporter;

Answer: A

No comments:

Post a Comment

Note: only a member of this blog may post a comment.