
Master the exam 70 480 Programming in HTML5 with JavaScript and CSS3 content and be ready for exam day success quickly with this Actualtests 70 480 programming in html5 with javascript and css3 brain dumps. We guarantee it!We make it a reality and give you real 70 480 exam questions in our Microsoft 70 480 vce braindumps.Latest 100% VALID Microsoft exam 70 480 practice test Exam Questions Dumps at below page. You can use our Microsoft exam 70 480 dumps braindumps and pass your exam.
Q11. You are developing a customer web form that includes the following HTML.
<input id = "txtValue" />
A customer must enter a value in the text box prior to submitting the form.
You need to add validation to the text box control.
Which HTML should you use?
A. <input id="txtValue" type="text" required="required"/>
B. <input id="txtValue" type="text" pattern="[A-Za-z]{3}" />
C. <input id="txtValue" type="required" />
D. <input id="txtValue" type="required" autocomplete="on" />
Answer: A
Q12. You develop an HTML5 application that allows users to upload files from their local computers.
The user interface must remain responsive during the upload.
You need to implement the file upload functionality for the application.
Which two actions should you perform? (Each correct answer presents a complete solution. Choose two.)
A. Use an HTML form with a file type INPUT element that targets a hidden IFRAME element.
B. Use a file type INPUT element, and then use the Web Storage API to upload the file.
C. Use a FormData object and upload the file by using XMLHttpRequest.
D. Register the file protocol by using protocol handler registration API and then upload the file by using XMLHttpRequest.
E. Use the FileSystem API to load the file, and then use the jQuery post method to upload the file to the server.
Answer: BD
Q13. You are implementing an application by using HTML5 and JavaScript. A web page contains the following HTML table.
The application must:
. Identify all rows in the table body that have a class attribute of selected
. Exclude the last selected row in the table
You need to implement the web page according to the requirements.
Which CSS selector should you use?
A. tr:not(tr:last-child).selected < #dataTable
B. #dataTable > tr.selected:not(tr:last-child)
C. #dataTable tbody tr.selected:not(tr:last-child)
D. #dataTable tr.selected:not(tr:last-child)
Answer: C
Q14. You create the following JavaScript code:
You have the following requirements:
. You must invoke a function that displays the vehicle information within the following HTML element: <div id="display"x/div>
. The output of the function must appear on the webpage as follows: Vehicle Color is silverStay safe!Vehicle TransmissionType is manualBig machine!
You need to invoke the JavaScript function to display the required output in the HTML element.
Which two code segments should you use? (Each correct answer presents a complete solution. Choose two.)
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
Answer: CE
Q15. 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
Q16. You are developing a customer web form that includes the following HTML input field.
<input id="txtValue"/>
If a customer enters a value in the input field, then it must be a numeric value.
You need to add validation to the input field.
Which HTML should you use?
A. <input id="txtValue" type-"text" pattern="/#" />
B. <input id="txtValue" type="number" />
C. <input id="txtVa!ue" type="integer" />
D. <input id="txtValue" type="text" required="required"/>
Answer: B
Q17. 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?
A. hidden
B. blink
C. capitalize
D. line-through
Answer: C
Q18. You are developing a customer web form that includes the following HTML. <label id="txtValue"X/label>
Information from the web form is submitted to a web service. The web service returns the following JSON object.
{
"Confirmation": "1234",
"FirstName": "John"
}
You need to display the Confirmation number from the JSON response in the txtValue label field.
Which JavaScript code segment should you use?
A. $("#txtValue").val = (JSONObject.Confirmation);
B. $("#txtValue").val (JSONObject.Confirmation);
C. $("#txtValue").text = (JSONObject.Confirmation);
D. $("#txtValue").text (JSONObject.Confirmation);
Answer: D
Q19. You are developing an HTML5 web application that provides a discussion forum for users. When a user registers to access the application, the user enters an email address.
Users can enter data that can result in cross-site scripting (XSS) attacks.
You need to ensure that email input is as secure as possible.
Which two techniques should you use? (Each correct answer presents a complete solution. Choose two.)
A. Remove all nonalphanumeric characters before submitting data.
B. Use the email tag in forms where the email address is entered.
C. Display all email addresses inside of an HTML5 ADDRESS element.
D. Use jQuery validation with a regular expression to ensure that email addresses are valid.
E. Ensure that all form data is encrypted when it is submitted.
Answer: BD
Q20. You are creating a JavaScript object that represents a customer.
You need to extend the Customer object by adding the GetCommission() method.
You need to ensure that all future instances of the Customer object implement the GetCommission() method.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D