READ Free Dumps For Microsoft- 70-480
Question ID 14819 | You are developing a page that includes text and an illustration. The web page resembles
the following image.
✑ You have the following requirements:
✑ The illustration must be in the center of the page.
✑ The text must flow around the left, right, top, and bottom of the illustration.
You need to ensure that the layout of the web page meets the requirements.
Which line of code should you use?
|
Option A | -ms-wrap-flow: both;
|
Option B | -ms-wrap-flow: clear;
|
Option C | -ms-wrap-flow: maximum;
|
Option D | -ms-wrap-flow: auto;
|
Correct Answer | A |
Explanation Explanation: -ms-wrap-flow Gets or sets a value that specifies how exclusions impact inline content within block-level elements. Syntax -ms-wrap-flow: auto | both | start | end | maximum | clear both Inline flow content can flow on all sides of the exclusion. Reference: -ms-wrap-flow property http://msdn.microsoft.com/en-us/library/ie/hh673558(v=vs.85).aspx http://dev.w3.org/csswg/css3-exclusions/
Question ID 14820 | You are creating a JavaScript function that displays the name of a web application.
You declare the following button element.
<input type="button" id= "About" value="About" />
When a user clicks the button, a JavaScript function named About must be called.
You need to create an event handler that calls the About function when the button is
clicked.
Which two code segments can you use? (Each correct answer presents a complete
solution. Choose two.)
|
Option A | Option A
|
Option B | Option B
|
Option C | Option C
|
Option D | Option D
|
Correct Answer | C,D |
Explanation Explanation: C: addEventListener The addEventListener() method attaches an event handler to the specified element. In context of a worker, both self and this refer to the global scope. The worker can either add an event listener for the message event, or it can define the onmessage handler to listen for any messages sent by the parent thread. D: attachEvent method Registers an event handler function (event listener) for the specified event on the current object. Reference: addEventListener method; attachEvent method http://help.dottoro.com/ljeuqqoq.php http://help.dottoro.com/ljinxrmt.php