Ensurepass


QUESTION 41

You are developing a web page that has a group of H1 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. clip_image001

B. clip_image002

C. clip_image003

D. clip_image004

Answer: D


QUESTION 42
HOTSPOT

You are developing an HTML5 application for a company. You apply the following style to a DIV element on a page.

clip_image005

You need to submit a draft illustration of the results of this code. Which illustration should you submit?

(To answer, select the appropriate illustration in the answer area.)

A. clip_image006

B. clip_image007

C. clip_image008

D. clip_image009

Answer: A


QUESTION 43
DRAG DROP

You are developing a web page that will be accessed from various types of devices. You have the following requirements:

· The appropriate display resolution must be selected dynamically based on the device that is

connecting to the page.

· 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, drag the appropriate media statement to the correct location. Each media statement 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_image010

A. clip_image011

B. clip_image012

C. clip_image013

D. clip_image014

Answer: AC


QUESTION 44
DRAG DROP

You are developing a web page by using HTML5 and CSS3.

Styles must be defined for all hyperlinks on the page so that the applied style reflects the last user action.

You need to style the four anchor elements in the document. In what order should you specify the four anchor selectors?

(To answer, move the appropriate anchor selectors from the list of CSS codes to the answer area and

arrange them in the correct order.)

clip_image015

A. A:link

A:visited A:hover A:active

B. A:link

A:hover A:active A:visited

C. A:link

A:hover A:visited A:active

D. A:hover A:visited A:active A:link

Answer: A


QUESTION 45

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


QUESTION 46

You are developing an HTML5 page. The page includes the following code.

clip_image016

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


QUESTION 47

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="txtValue" type="integer" />

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

Answer: B


QUESTION 48

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


QUESTION 49

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?

clip_image017

A. clip_image018

B. clip_image019

C. clip_image020

D.clip_image021

Answer: A


QUESTION 50
HOTSPOT

You are developing a form that captures a user’s email address by using HTML5 and jQuery.

The form must capture the email address and return it as a query string parameter. The query string parameter must display the @ symbol used in the email address.

You need to implement this functionality.

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

clip_image022

A. clip_image023

B. clip_image024

C. clip_image025

D. clip_image026

E. clip_image027

Answer: AE

Download Latest 70-480 Real Free Tests , help you to pass exam 100%.

Comments are closed.