READ Free Dumps For Microsoft- 70-480
Question ID 14910 | You are developing an HTML5 web application and are styling text. You need to use the
text-transform CSS property.
Which value is valid for the text-transform property?
|
Option A | red
|
Option B | hidden
|
Option C | lowercase
|
Option D | italic
|
Correct Answer | C |
Explanation Explanation: CSS Syntax text-transform: none|capitalize|uppercase|lowercase|initial|inherit; Example Transform text in different elements: h1 {text-transform:uppercase;} h2 {text-transform:capitalize;} p {text-transform:lowercase;} Reference: CSS text-transform Property http://www.w3schools.com/cssref/pr_text_text-transform.asp
Question ID 14911 | You are developing a web application that uses web workers to process images extracted
from an HTML5 CANVAS object on a web page.
You need to pass messages between the web workers and the web page.
Which three types of objects should you use? (Each correct answer presents a complete
solution. Choose three.)
|
Option A | JSON
|
Option B | Window
|
Option C | Parent
|
Option D | String
|
Option E | JavaScript
|
Option F | DOM
|
Correct Answer | A,D,E |
Explanation Explanation: * Example: var myHelloWorker = new Worker('helloworkers.js'); Youll then start the worker (and thus a thread under Windows) by sending it a first message: myHelloWorker.postMessage(); Indeed, the Web Workers and the main page are communicating via messages. Those messages can be formed with normal strings or JSON objects. * (E) The Web Workers API makes it possible to execute a JavaScript file asynchronously and autonomously. A web worker is essentially a thread executing a JavaScript file. * (A, D) In the first implementations of web workers the browsers only allowed strings to be exchanged as messages. However, recent implementations allow for exchange of values or JSON objects. Reference: HTML5 Web Workers Topic 3, Volume C