Cause all that matters here is passing the Microsoft 70 480 practice test exam. Cause all that you need is a high score of mcsd 70 480 Programming in HTML5 with JavaScript and CSS3 exam. The only one thing you need to do is downloading Ucertify 70 480 exam exam study guides now. We will not let you down with our money-back guarantee.
Q61. You develop an HTML5 webpage. You have the following HTML markup:
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q62. You are developing a web page that performs CPU-intensive calculations. A web worker processes these calculations on a separate background thread. The process is instantiated from the web page.
You need to stop the web worker process after the calculations are completed.
Which two actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
A. From the web page, call the close() method.
B. From the web worker process, call the terminate() method.
C. From the web page, call the terminate() method.
D. From the web worker process, call the close() method.
Answer: CD
Q63. An HTML page contains no embedded JavaScript or CSS code. The body of the page contains only the following line of code.
<p id="test">test</p> A CSS style sheet must be applied dynamically. The style must visibly change the appearance of the paragraph on the page.
You need to apply a style the paragraph.
Which line of code should you use?
A. document.getElementById("test").style.border = "0";
B. document.getElementById("test").style.position = "static";
C. document.getElementById ("test").style.padding = "15px";
D. document.getElementById("test").style.top = "5px";
Answer: A
Q64. You troubleshoot a webpage that contains the following HTML markup: (Line numbers are included for reference only.)
The webpage also contains the following JavaScript function named someEvent() that is declared in the HEAD section of the HTML:
Function someEvent() { Alert('someEvent fired!'); }
The JavaScript function named someEvent() must run only when the user clicks the DIV element, not the INPUT elements.
You need to modify the webpage to invoke the JavaScript function named someEvent().
What should you do? (Each correct answer presents a complete solution. Choose two.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: AB
Q65. You are developing an HTML5 page.
You need to add author and copyright information.
Which tag should you use?
A. <aside>
B. <header>
C. <footer>
D. <section>
Answer: C
Q66. You develop an HTML5 webpage with custom CSS. You have the following HTML markup:
<div class="new" Item">...</div>
You have the following requirements:
. In addition to your CSS, you must use a corporate branded stylesheet named corporate.ess.
. The corporate.ess file contains the style rule that must be used for .newsItem.
. You must use the corporate.ess file to ensure that the webpage changes when the brand changes.
. You must add additional style rules to the webpage.
. You cannot modify the corporate.ess file.
You need to apply the appropriate CSS rules to meet the requirements.
What should you do?
A. Add a CSS class named .newsItemUpdates to the webpage, add only the new styles to this class, and update the class attribute of the HTML markup:
<div class=nnewsltem newsItemUpdates">..,</div>
B. Update the corporate.ess file to include! important for each rule for the .newsItem. class, and add the new CSS rules to the webpage by using the CSS class .newsItem.
C. Add a CSS class named .newsitemUpdates to the webpage, add the new styles to this class, and update the HTML markup to replace the .newsItem class with this new class:
<div class*"newsItemOpdates">...</div>
D. Add the new CSS rules to the webpage by using the CSS class .newsItem, and add! important to each rule.
Answer: D
Q67. You are developing a customer web form that includes the following HTML.
<input id="txtValue" type="text" />
A customer must enter a valid age in the text box prior to submitting the form.
You need to add validation to the control.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q68. You develop a webpage by using HTML5. You create the following markup and code: (Line numbers are included for reference only.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
Q69. You are developing an HTML5 page that has an element with an ID of picture. The page includes the following HTML.
You need to move the picture element lower on the page by five pixels.
Which two lines of code should you use? (Each correct answer presents part of the solution. Choose two.)
A. document.getEIementById("picture").style.position = "relative";
B. document.getElementById("picture").style.top = "5px";
C. document.getEiementById("picture").style.top = "-5px";
D. document.getEIementById("picture").style.position = "absolute";
Answer: AB
Q70. You are developing an HTML5 web application. The application loads data from a web service by using AJAX. The application displays the data by calling the displayData function. The data is loaded by using the following code.
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B