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
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="code" />
B. <input id="txtValue" type="text" pattern=" [A-Za-z] {3}" />
C. <input id="txtValue" type="text" required="required"/>
D. <input id="txtValue" type="country" />
Answer: B
Monday, 6 November 2017
Monday, 11 September 2017
Microsoft 70-480 Question Answer
You need to test the value of the following variable in JavaScript.
var length = "75";
A block of code must execute if the length equals 75 regardless of the data type.
You need to use the statement that meets this requirement.
Which lines of code should you use? (Each answer presents a complete solution. Choose two.)
A. if (length = = = 75)
B. if (length = = 75)
C. if (length! = 75)
D. if (length = = "75")
Answer: BD
You are developing an application that uses a third-party JavaScript library named doWork().
The library occasionally throws an "object is null or undefined" error with an error code of -2146823281.
The application must:
Extract and handle the exceptions thrown by doWork() Continue normal program execution if other exceptions occur
You need to implement the requirements.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
var length = "75";
A block of code must execute if the length equals 75 regardless of the data type.
You need to use the statement that meets this requirement.
Which lines of code should you use? (Each answer presents a complete solution. Choose two.)
A. if (length = = = 75)
B. if (length = = 75)
C. if (length! = 75)
D. if (length = = "75")
Answer: BD
You are developing an application that uses a third-party JavaScript library named doWork().
The library occasionally throws an "object is null or undefined" error with an error code of -2146823281.
The application must:
Extract and handle the exceptions thrown by doWork() Continue normal program execution if other exceptions occur
You need to implement the requirements.
Which code segment should you use?

A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Tuesday, 18 April 2017
Microsoft 70-480 Question Answer
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
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.)

B. Option B
C. Option C
D. Option D
Answer: CD
Wednesday, 31 August 2016
Microsoft to Sell MSN China Web Portal

Three months after saying that the shutter of its Internet portal MSN China, Microsoft Corp. instead decided to sell the business to a Chinese entity headed by a former general manager of Microsoft Online.
Microsoft said Tuesday it has signed a "purchase agreement by the address" 10 August with XiChuang Technology (Beijing) Co., under which XiChuang acquire Microsoft Communications Online Network Technology (Shanghai) Co. The companies did not give released under the agreement, but said Anderson Liu, former general manager of Microsoft online, is the CEO of XiChuang.
In May, Microsoft said it plans to close the Chinese web portal as the software giant moves away from providing online content to offer services and software for Windows 10 devices.
In a press release on Tuesday, Microsoft said it is "working closely" with XiChuang advertising and search operations to ensure a smooth transition, adding that China is a strategic market that will continue to invest.
Monday, 11 July 2016
Pass4sure 70-480 Question Answer
You are developing a web page that will be divided into three vertical sections. The main content of the site will be placed in the center section. The two outer sections will contain advertisements.
You have the following requirements:
The main content section must be set to two times the width of the advertising sections.
The layout must be specified by using the CSS3 flexible box model.
You need to ensure that the visual layout of the page meets the requirements.
Which CSS3 property should you use?
A. box-orient
B. box-flex-group
C. box-flex
D. box-direction
Answer: C
You have the following requirements:
The main content section must be set to two times the width of the advertising sections.
The layout must be specified by using the CSS3 flexible box model.
You need to ensure that the visual layout of the page meets the requirements.
Which CSS3 property should you use?
A. box-orient
B. box-flex-group
C. box-flex
D. box-direction
Answer: C
Wednesday, 8 June 2016
Pass4sure 70-480 Question Answer
You are developing an HTML5 page that has an element with an ID of logo. The page includes the following HTML.
<div>
Logo:<br>
<div id="logo">
</div>
</div>
You need to move the logo element lower on the page by five pixels.
Which lines of code should you use? (Each correct answer presents part of the solution. Choose two.)
A. document.getElementById("logo") .style.position = "relative";
B. document.getElementByld("logo").Style.top = "5px";
C. document.getElementById("logo").style.top = "-5px";
D. document.getElementById("logo").style.position = "absolute";
Answer: AB
<div>
Logo:<br>
<div id="logo">
</div>
</div>
You need to move the logo element lower on the page by five pixels.
Which lines of code should you use? (Each correct answer presents part of the solution. Choose two.)
A. document.getElementById("logo") .style.position = "relative";
B. document.getElementByld("logo").Style.top = "5px";
C. document.getElementById("logo").style.top = "-5px";
D. document.getElementById("logo").style.position = "absolute";
Answer: AB
Sunday, 8 May 2016
Pass4sure 70-480 Question Answer
You are modifying an existing web page. The page is being optimized for accessibility. The current page contains the following HTML.
Standards-compliant screen readers must be able to identify the links contained within the navigation structure automatically.
You need to create the navigation link structure in the page.
With which container tags should you wrap the existing markup?
A. <navmap> </navmap>
B. <div id="nav"> </div>
C. <nav> </nav>
D. <map> </map>
Answer: C

You need to create the navigation link structure in the page.
With which container tags should you wrap the existing markup?
A. <navmap> </navmap>
B. <div id="nav"> </div>
C. <nav> </nav>
D. <map> </map>
Answer: C
Subscribe to:
Posts (Atom)