READ Free Dumps For Microsoft- 70-480
Question ID 14878 | 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?
|
Option A | Add the following attribute to the canvas HTML element: clicked= "clickReporter()"
|
Option B | Replace the code segment at line 06 with the following code segment: drawBox.Click += clickReporter;
|
Option C | Insert the following code segment at line 07: canvas.onclick = clickReporter;
|
Option D | Insert the following code segment at line 07: canvas, click = clickReporter;
|
Correct Answer | A |
Explanation
Question ID 14879 | You are modifying a blog site to improve search engine readability.
You need to group relevant page content together to maximize search engine readability.
Which tag should you use?
|
Option A | <nav>
|
Option B | <article>
|
Option C | <span>
|
Option D | <div>
|
Correct Answer | B |
Explanation Explanation: The
tag specifies independent, self-contained content. An article should make sense on its own and it should be possible to distribute it independently from the rest of the site. Potential sources for the element: Forum post Blog post News story Comment Reference: HTML Tag http://www.w3schools.com/tags/tag_article.asp http://www.w3schools.com/html/html5_new_elements.asp