aiotestking uk

70-480 Exam Questions - Online Test


70-480 Premium VCE File

Learn More 100% Pass Guarantee - Dumps Verified - Instant Download
150 Lectures, 20 Hours

Q1. You are developing an HTML page that includes the following code. 

<h1 id="header">A Static Page</hl> 

You need to modify the content of the HI element dynamically by using JavaScript. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: D

Q2. You are developing an HTML5 web form to collect feedback information from site visitors. 

The web form must display an INPUT element that meets the following requirements: 

Allow numeric values between 1 and 10. 

Default to the value of 5. 

Display as a slider control on the page. 

You need to add the INPUT element to the form. 

Which HTML element should you add? 

A. Rating (Between 1 and 10): <input type="number" name="rating" min ="1" max-"10"> 

B. Rating (Between 1 and 10): <input type="number" name="rating" min="1" max="10" default="5"> 

C. Rating (Between 1 and 10): <input type="range" name="rating" min="0" max="10" default"="5"> 

D. Rating (Between 1 and 10): <input type="range" name="rating" min="10" max="10" value="5"> 

Answer: D

Q3. You are developing a customer web form that includes the following HTML. 

<input id="txtValue"/> 

You need to change the HTML markup so that customers can enter only a valid three-letter country code. 

Which HTML should you use? 

A. <input id="txtValue" type="country"/> 

B. <input id="txtValue" type="text" required="xxx"/> 

C. <input id="txtVa!ue" type="text" pattern-" [A-Za-z] {3} "/> 

D. <input id="txtValuen type="code" pattern"="country"/> 

Answer:

Q4. You are creating a JavaScript object that represents an employee. 

You need to extend the Employee object by adding the GetPayroll() method. 

You need to ensure that all future instances of the Employee object implement the GetPayroll() method. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q5. You develop a webpage by using HTML5. You create the following markup: 

<input type "url" name= "website" required="required" /> 

You need to ensure that the value that the user enters contains a secure URL. 

What should you do? 

A. Add the following attribute to the input tag: value="https://v 

B. Add the following attribute to the input tag: pattern="https://.+" 

C. Add the following attribute to the input tag: value="ssl" 

D. Add the following attribute to the input tag: itemtype="https" 

Answer: B

Q6. You are developing a customer web form that includes following HTML. 

<input id= "textAccountType"/> 

You need to develop the form so that customers can enter only a valid account type consisting of two English alphabet characters. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q7. You develop an HTML5 webpage that contains the following HTML markup: 

You have the following requirements: 

. Retrieve the content for any OPTION elements when the value of the selected attribute equals selected. . Add the content to a comma separated string. 

You need to retrieve the required data. 

Which two code segments should you add to the webpage? (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: BD

Q8. You are developing a web page that includes the following HTML. 

<span id = "myTextSpan" class = "redText"> Hello There! </span> 

The font color of text inside the span must be red. 

You need to develop the web page to meet the requirement. 

Which two CSS segments will achieve the goal? (Each correct answer presents a complete solution. Choose two.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: AC

Q9. You are developing a web form that includes the following HTML. 

<input id="txtValue" type="text" /> 

You need to ensure that a value is entered into txtValue before the form is submitted. 

Which code segment should you use? 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer:

Q10. 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? 

A. -ms-wrap-side: both; 

B. -ms-wrap-side: clear; 

C. -ms-wrap-side: maximum; 

D. -ms-wrap-side: auto; 

Answer: