getcertified4sure.com

Get Smart with 70 480 vce




Exam Code: exam 70 480 dumps (Practice Exam Latest Test Questions VCE PDF)
Exam Name: Programming in HTML5 with JavaScript and CSS3
Certification Provider: Microsoft
Free Today! Guaranteed Training- Pass 70 480 certification Exam.

Q11. You are creating a JavaScript function that displays the name of a web application. 

You declare the following button element. 

<input type="button" id= "About" value="About" /> 

When a user clicks the button, a JavaScript function named About must be called. 

You need to create an event handler that calls the About function when the button is clicked. 

Which two code segments can you use? (Each correct answer presents a complete solution. Choose two.) 

A. Option A 

B. Option B 

C. Option C 

D. Option D 

Answer: CD 


Q12. You develop an HTML5 web application. The web application contains a form that allows users to enter only their month of birth. 

The value that the users enter must be numbers between 1 and 12, inclusive. 

You need to implement the form element for the month of birth. 

Which element should you use? 

A. <input type="time" options="month" /> 

B. <input types="submit" value="month" /> 

C. <input type="range" min="1" max="12" /> 

D. <input type="month" itemscope="numeric" /> 

Answer:


Q13. 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:


Q14. 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:


Q15. You are modifying a blog site to improve search engine readability. 

You need to group relevant page content together to maximize search engine readability. 

Which tag should you use? 

A. <section> 

B. <tbody> 

C. <div> 

D. <table> 

Answer:


Q16. You are developing a web page by using HTML5 and C5S3. The page includes a <div> tag with the ID set to validate. 

When the page is rendered, the contents of the <div> tag appear on a line separate from the content above and below it. The rendered page resembles the following graphic. 

You need to ensure that the page is rendered to meet the requirement. 

Which line of code should you use? 

A. document.getElementById("validate").style.display = "inline"; 

B. document.getElementById("validate").style.margin = "0"; 

C. document.getElementById("validate").style.padding = "0"; 

D. document.getElementSyId("validate").style.display = "block"; 

Answer:


Q17. You develop an HTML5 webpage. You have the following HTML markup: 

You need to change the background color for all of the elements whose name attribute ends with the word name. 

Which code segment should you add to the webpage? 

A. $ ('input [name!="name"]’) .ess ({ 'background-color' : ' #E0ECF8'}) ; 

B. ${'input [name~="name"] ') .ess ({ 'background-color' : ' #E0ECF8' }) ; 

C. ${'input[name*="name"]').ess({'background=color': #E0ECF8'}); 

D. $( 'input [name$="name"] ') .ess ({ 'background-color' : '#E0ECF8'}); 

Answer: D


Q18. You are modifying a blog site to improve search engine readability. 

You need to group relevant page content together to maximize search engine readability. 

Which tag should you use? 

A. <article> 

B. <span> 

C. <tbody> 

D. <cd> 

Answer:


Q19. 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:


Q20. You are creating a page that contains detailed employee information for a company portal. The page uses a jQuery library. The page contains a hidden button named btnEdit that is defined by the following code. 

<button id="btnEdit" style="display: none;n>Edit</button> 

The button is not displayed by default. 

The button must be displayed only if the user is logged on. 

You need to add code to the document.ready() function to meet the requirements for the button. 

Which line of code should you use? 

A. $ (‘#btnEdit’).appear (); 

B. $ (‘#btnEdit’).visible = true; 

C. $ (‘#btnEdit’).show(); 

D. $ (‘#btnEdit’).Visible(); 

Answer: