we provide Tested Microsoft microsoft 70 480 exam question which are the best for clearing 70 480 exam test, and to get certified by Microsoft Programming in HTML5 with JavaScript and CSS3. The microsoft 70 480 Questions & Answers covers all the knowledge points of the real mcsd 70 480 exam. Crack your Microsoft 70 480 exam dumps Exam with latest dumps, guaranteed!
Q1. 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
Q2. You are developing an HTML5 web application for an architectural company that displays architectural blueprints.
The application must:
Display the blueprints at different zoom levels without loss of detail Print the blueprints without loss of detail Work from only one source file per blueprint
You need to ensure that blueprints display according to the requirements.
Which HTML5 element should you use?
A. CANVAS
B. SAMP
C. SVG
D. AREA
Answer: C
Q3. You are creating a web page that contains a canvas with text.
The page contains the following JavaScript code. (Line numbers are included for reference only.)
The text on the canvas must rotate 90 degrees when a user clicks a button on the page.
You need to ensure that the text rotates when the user clicks the button.
Which line of code should you add at line 03?
A. context.transform(90);
B. context.content.getRotation(90);
C. context.rotate(90);
D. context.content.rotate (90);
Answer: C
Q4. You are developing an HTML5 page. The page includes the following code.
The inner paragraph must be exactly 15 pixels from the top left corner of the outer paragraph. You set the left style for the inner paragraph to the appropriate value.
You need to set the position property of the inner paragraph.
Which value should you use?
A. absolute
B. static
C. fixed
D. relative
Answer: A
Q5. 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: A
Q6. You are developing an HTML5 web application and are styling text. You need to use the text-transform CSS property.
Which value is valid for the text-transform property?
A. red
B. hidden
C. lowercase
D. italic
Answer: C
Q7. 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
Q8. You are developing an HTML5 web page.
The appearance of the text box must change when a user moves the focus to another element on the page.
You need to develop the page to respond to user action.
Which line of code should you use?
A. <input type="text" onblur="resetStyle(this);" />
B. <input type="text" onfocus="resetStyle(this);" />
C. <input type="text" onreset="resetStyle(this);" />
D. <input type="text" onselect="resetStyle(this);" />
Answer: A
Q9. You are developing a web page that has a group of HI and H2 elements. The page also includes a CSS class named underlineMe.
You have the following requirements:
The font color of all H1 and H2 elements must be changed to red.
The CSS class underlineMe must be applied to all H1 and H2 elements.
You need to update the web page to meet the requirements. Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Q10. You develop a webpage with a standard input control by using HTML5.
The input control must display the text Enter your given name, as shown below:
When a user selects the input control, the text must disappear.
You need to create the input control.
Which input control should you use?
A. <input name="GivenName" value=" Enter your given name" />
B. <input name ="GivenName" default=" Enter your given name" />
C. <input name="GivenName" text=" Enter your given name" />
D. <input name="GivenName" placeholder=" Enter your given name" />
Answer: D