[Free] Download New Updated (October 2016) Microsoft 70-480 Real Exam 31-40

Ensurepass

QUESTION 31

You are developing an HTML5 page that includes several paragraph elements.

 

You have the following requirements:

 

clip_image002Add a drop shadow that is one inch below the text in the paragraph

clip_image002[1]Set the radius of the drop shadow to five pixels

 

You need to style the paragraphs to meet the requirements.

 

Which CSS style should you use?

 

A.

text-shadow: 72pt 0pt 5pt

B.

text-shadow: 5px 1in 0px;

C.

text-shadow: 72pt 5em 0px

D.

text-shadow: 72pt 0em 5px;

 

Correct Answer: D

Explanation:

D is the most correct.

 

Reference:

CSS Text Module Level 3

http://www.w3.org/TR/css3-text/#text-shadow

Note:

All options are incorrect nearest correct answers are B or D.

 

#obj {text-shadow: <x-offset> <y-offset> <blur-radius> <color>; }

 

<x-offset> +n right -n left

 

<y-offset> +n bottom -n top

 

1 inch below means <y-ffset> is 1in or 72 pt

 

Hence actually answer must be

 

0px, 1in, 5px

 

or

 

0px, 72pt, 5px

 

 

QUESTION 32

You are creating a web form that users will use to enter their personal information. The form includes the following HTML.

 

clip_image004

 

You have the following requirements:

 

clip_image002[2]When a user enters an input box, the cell on the right must turn green.

clip_image002[3]When a user leaves an input box, the cell on the right must turn white.

 

You need to create the web form to meet these requirements.

 

Which code segment should you use?

 

clip_image006

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

QUESTION 33

You are developing a web page. You create a grid layout by using the following CSS segment.

 

clip_image008

 

You have the following requirements:

 

clip_image002[4]You must place content in the first column of the second row.

clip_image002[5]The content must span two columns.

 

You need to ensure that the style of the grid meets the requirements.

 

Which CSS segment should you use?

 

clip_image010

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 34

DRAG DROP

You are creating an application by using HTML5 and CSS3. The styles for the pages are

derived from five style sheets.

 

The styles are not being applied correctly to the pages in the application.

 

You need to apply the styles from highest priority to lowest priority.

 

In which order should you use the five style sheets? (To answer, move the style sheet types from the list of style sheet types to the answer area and arrange them in the correct order.)

 

clip_image011

 

Correct Answer:

clip_image012

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 35

You are developing a web page by using HTML5.

 

You have the following requirements:

 

clip_image002[6]An H1 element must be placed at the top left corner of the page.

clip_image002[7]The size
and location of the H1 element must not change if additional elements are added to the page.

 

You need to position the H1 element on the page.

 

Which CS53 style should you use?

 

clip_image014

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: A

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

QUESTION 36

You are styling a box object on a page by using CSS3.

 

You need to set the transparency of the object to 50%.

 

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

 

clip_image016

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: BC

Explanation:

http://www.css3.info/introduction-opacity-rgba/

 

 

 

 

 

 

 

 

 

 

 

QUESTION 37

HOTSPOT

You are developing a web page that will be accessed from various types of devices.

 

You have the following requirements:

 

clip_image002[8]The appropriate display resolution must be selected dynamically based on the device connecting to the page.

clip_image002[9]Mobile devices with a maximum width of 480 pixels must be able to use the page.

 

You need to ensure that the page displays correctly on any device.

 

How should you build the code? (To answer, select the appropriate options from the drop- down lists in the answer area.)

 

clip_image018

 

clip_image020

 

Correct Answer:

clip_image022

 

 

QUESTION 38

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

 

Correct Answer: C

Explanation:

http://www.w3schools.com/cssref/pr_text_text-transform.asp

 

none,capitalize,uppercase,lowercase and inherit

 

Example

 

Transform text in different elements:

 

h1 {text-transform:uppercase;}

 

h2 {text-transform:capitalize;}

 

p {text-transform:lowercase;}

 

 

QUESTION 39

DRAG DROP

You are developing a website that has many web pages with hyperlinks to other sites.

 

You need to ensure that if a hyperlink contains an image, the linked web page opens in a new window.

 

Which jQuery code segment or segments should you use? (To answer, drag the appropriate line of code to the correct location. Each line of code may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

 

clip_image024

 

Correct Answer:

clip_image026

 

 

QUESTION 40

You are developing a page that includes text and an illustration. The web page resembles the following image.

 

clip_image028

You have the following requirements:

 

clip_image002[10]The illustration must be in the center of the page.

clip_image002[11]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;

 

Correct Answer: A

Explanation:

http://msdn.microsoft.com/en-us/library/ie/hh673558(v=vs.85).aspx

http://dev.w3.org/csswg/css3-exclusions/

 

Free VCE & PDF File for Microsoft 70-480 Real Exam

Instant Access to Free VCE Files: MCSE|MCSA|MCITP…
Instant Access to Free PDF Files: MCSE|MCSA|MCITP…