exam questions

Exam 70-486 All Questions

View all questions & answers for the 70-486 exam

Exam 70-486 topic 2 question 8 discussion

Actual exam question from Microsoft's 70-486
Question #: 8
Topic #: 2
[All 70-486 Questions]

If the canvas element is supported by the client browser, the application must display "London 2012" in the footer as text formatted by JavaScript at the end of the
_Layout.cshtml file.
You need to modify the layout to ensure that "London 2012" is displayed as either formatted text or as plain text, depending on what the client browser supports.
Which code segment should you add?

  • A. <canvas id="myFooter"> @(Request,Browser.JavaApplets ? new HtmlString("London 2012") : null) </canvas>
  • B. <canvas id="myFooter">London 2012</canvas>
  • C. <canvas id="myCanvas">London 2012</canvas>
  • D. <canvas id="myCanvas"></canvas> <p>London 2012</p>
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
murat12345
4 years, 7 months ago
Shouldn't the question be: "If the canvas element is 'NOT' supported by the client browser"? Because londen 2012 is only shown when the browser does not support the canvas.. not the other way around.
upvoted 2 times
...
zinza
4 years, 7 months ago
Complete images are here: https://examref.com/MCSD/70-486/6
upvoted 1 times
...
ParkPalaceJoe
4 years, 7 months ago
image missed which display a javascript access $("#myCanvas")
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...