Pre-Summer Sale Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

IT Specialist INF-306 Dumps

Page: 1 / 7
Total 68 questions

HTML5 Application Development Questions and Answers

Question 1

Which two functions support 2D transformations in CSS3? Choose 2.

Options:

A.

move()

B.

scroll()

C.

matrix()

D.

skew()

E.

zoom()

Question 2

You need to create the following form:

as

Complete the code by selecting the correct option from each drop-down list.

as

Options:

Question 3

Match each stage of Application Lifecycle Management to the task that occurs during that stage.

Move each stage from the list on the left to the correct task on the right.

Note: You will receive partial credit for each correct match.

as

Options:

Question 4

You define the following layout:

< !DOCTYPE html >

< html >

< head >

< style >

section {

display: flex;

align-items: center;

flex-wrap: wrap;

min-height: 200px;

width: 700px;

background: linen;

}

section p {

flex: 1;

min-width: 200px;

padding: 20px;

}

< /style >

< /head >

< body >

< h2 > Exhibits to visit at the zoo < /h2 >

< section >

< p style= " order: 3 " > Lions < /p >

< p style= " order: 4 " > Tigers < /p >

< p style= " order: 2 " > Bears < /p >

< p style= " order: 1 " > Zoo Trip < /p >

< /section >

< /body >

< /html >

For each statement about the markup shown on the left, select True or False.

as

Options:

Question 5

You create an interface for a touch-enabled application. Some input buttons do not trigger when tapped. What are two possible causes?

Options:

A.

The input areas are using event handlers to detect input.

B.

The defined input areas are not large enough.

C.

The touch screen is not initialized.

D.

The input areas overlap with other input areas.

Question 6

You have created custom error messages for a form. When a user attempts to submit the form with invalid data, the following must occur:

• The data must remain in the form.

• Error messages must be displayed.

Which Event property or method should you use?

Options:

A.

defaultPrevented

B.

cancelable

C.

preventDefault

D.

abort

Question 7

You need to ensure that the value of an input element is a valid 10-digit phone number with no symbols. The input element should initially display all zeroes, but that value should never be stored with the form.

Complete the markup by selecting the correct option from each drop-down list.

as

Options:

Question 8

You need to implement media queries for the responsive layout of a new website.

Low-resolution wireframes for the desktop, tablet, and mobile layouts are shown.

as

Options:

Question 9

Match each property to its corresponding value for creating the CSS flexible box layout.

Move each property from the list on the left to the correct value on the right.

Note: You will receive partial credit for each correct match.

as

Options:

Question 10

You need to create the layout shown, which defines five content areas:

    Logo and page title

    Menu

    Main content area

    Additional content area

    Copyright and contact information

You define the following classes:

Options:

A.

.grid-container { display: grid; grid-template-columns: 33% 33% 33%; grid-template-rows: 300px 500px 300px; grid-gap: 10px; background-color: orange; padding: 10px;}

B.

.grid-container { display: grid; grid-template-rows: " heading heading heading heading heading heading " " menu content content content right right " " menu contact contact contact contact contact " ; grid-gap: 10px; background-color: orange; padding: 10px;}

C.

.grid-container { display: grid; grid-template-columns: " heading heading heading heading heading heading " " menu content content content right right " " menu contact contact contact contact contact " ; grid-gap: 10px; background-color: orange; padding: 10px;}

D.

.grid-container { display: grid; grid-template-areas: " heading heading heading heading heading heading " " menu content content content right right " " menu contact contact contact contact contact " ; grid-gap: 10px; background-color: orange; padding: 10px;}

Question 11

Review the images on the left.

Complete the statements by selecting the correct option from each drop-down list.

Note: You will receive partial credit for each correct selection.

as

Options:

Question 12

Identify the filter applied to each image.

Complete the markup by selecting the correct option from each drop-down list.

Note: You will receive partial credit for each correct selection.

as

Options:

Question 13

What is the effect of applying the CSS float: right property to an image?

Options:

A.

It positions the image to the right of the region and wraps text around the top, left, and bottom.

B.

It positions the image to the right and wraps text to the top and bottom.

C.

It positions the image to the left and displays all of the text to the right of the image.

D.

It positions the image to the left of the region and wraps text around the top, right, and bottom.

Question 14

Which JavaScript method is used to draw a circle on a canvas?

Options:

A.

circle

B.

ellipse

C.

arc

D.

bezierCurveTo

Question 15

A form has four buttons with a class of item. You need to apply an event listener to all buttons to invoke the moveElement function when a button is pressed. Your code must ensure bubble capture.

Complete the markup by selecting the correct option from each drop-down list.

Note: You will receive partial credit for each correct selection.

as

Options:

Question 16

Which markup segment uses the output element to display the combined value of two input elements in HTML5?

Options:

A.

< form > < input type= " number " name= " a " value= " 50 " / > + < input type= " number " name= " b " value= " 50 " / > = < output name= " c " for= " a b " > a+b < /output > < /form >

B.

< form oninput= " a.value+b.value " > < input type= " number " name= " a " value= " 50 " / > + < input type= " number " name= " b " value= " 50 " / > < /form >

C.

< form oninput= " c.value=a.value+b.value " > < input type= " number " name= " a " value= " 50 " / > + < input type= " number " name= " b " value= " 50 " / > = < output name= " c " for= " a b " > < /output > < /form >

D.

< form > < input type= " number " name= " a " value= " 50 " / > + < input type= " number " name= " b " value= " 50 " / > = < output name= " c " for= " a b " > < /output > < /form >

Question 17

A local photographer asks you to add filters as shown to the images in their photo gallery so that the images are not recognizable until authorized users log in.

Example of original and filtered images:

    Original image: full-color flower image

    Filtered image: blurred grayscale image

as

Analyze the images on the left.

Construct a CSS selector that will apply the appropriate filters to the images to meet the requirements.

Complete the markup by moving the appropriate HTML tags from the list on the left to the correct locations on the right. You may use each HTML tag once, more than once, or not at all.

Note: There is more than one correct markup. You will receive credit for any correct markup completion.

as

Options:

Question 18

You are creating a form that requires the category to be entered as a two- or three-letter abbreviation. The input is mandatory.

You need to configure the input validation for the form.

Complete the markup by typing into the boxes.

Note: You will receive partial credit for each correct answer.

as

Options:

Question 19

You want to display a message box showing the user ' s current latitude and longitude as identified by the user’s browser.

Complete the code by selecting the correct option from each drop-down list.

Note: You will receive partial credit for each correct selection.

as

Options:

Question 20

Review the grid container requirements and mockup on the left. Which markup should you use to define the grid container?

Options:

A.

Uses grid-template-columns and grid-template-rows with percentage and pixel sizing.

B.

Incorrectly places named area strings under grid-template-rows.

C.

Incorrectly places named area strings under grid-template-columns.

D.

.grid-container { display: grid; grid-template-areas: " heading heading heading heading heading heading " " menu content content content right right " " menu contact contact contact contact contact " ; grid-gap: 10px; background-color: orange; padding: 10px;}

Page: 1 / 7
Total 68 questions