READ Free Dumps For Microsoft- 70-480
Question ID 14855 | You are developing an HTML5 web application and are styling text.
You need to use the text-transform CSS property.
Which values are valid for the text-transform property?
|
Option A | hidden
|
Option B | blink
|
Option C | capitalize
|
Option D | line-through
|
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 14856 | You are developing a web page that enables customers to upload documents to a web
server. The page includes an HTML5 PROGRESS element named progressBar that
displays information about the status of the upload.
The page includes the following code. (Line numbers are included for reference only.)
An event handler must be attached to the request object to update the PROGRESS
element on the page.
You need to ensure that the status of the upload is displayed in the progress bar.
Which line of code should you insert at line 03?
|
Option A | xhr.upload.onloadeddata =
|
Option B | xhr.upload.onplaying =
|
Option C | xhr.upload.onseeking =
|
Option D | xhr.upload.onprogress =
|
Correct Answer | D |
Explanation Explanation: Example: xhr.upload.onprogress = function(evt) { if (evt.lengthComputable) { var percentComplete = parseInt((evt.loaded / evt.total) * 100); console.log("Upload: " + percentComplete + "% complete") } }; Reference: http://stackoverflow.com/questions/3352555/xhr-upload-progress-is-100-from-the-start