Spring Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: pass65

INF-306 HTML5 Application Development Questions and Answers

Questions 4

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.

INF-306 Question 4

Options:

Buy Now
Questions 5

You write the following JavaScript code. Line numbers are included for reference only.

01 < script >

02

03 beststudent = new Student( " David " , " Hamilton " );

04 document.write(beststudent.fullname + " is registered. " );

05 < /script >

You need to write a function that will initialize and encapsulate the member variable fullname.

Which code fragment could you insert at line 02 to achieve this goal?

Note: Each correct answer presents a complete solution.

Options:

A.

function Student(firstname, lastname) { this.firstname = firstname; this.lastname = lastname; this.fullname = this.firstname + " " + this.lastname;}

B.

var student(firstName, lastName) { firstname = firstName; lastname = lastName; fullname = firstname + " " + lastname;}

C.

var Student(firstname, lastname) { this.firstname = firstname; this.lastname = lastname; this.fullname = this.firstname + " " + this.lastname;}

D.

function Student(firstName, lastName) { firstname = firstName; lastname = lastName; fullname = firstname + " " + lastname;}

Buy Now
Questions 6

You are creating a script that reads a JSON menu file and displays the Entree, Price, and Description.

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

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

INF-306 Question 6

Options:

Buy Now
Questions 7

Which two application features should you implement by using session storage? Choose 2.

Options:

A.

Saving customized UI/UX settings

B.

Saving temporary authentication tokens

C.

Passing form data to a confirmation page

D.

Saving game play status for future use

E.

Passing data to a function within a program

Buy Now
Questions 8

Review the markup segment. Which entry will validate successfully according to the required pattern?

Options:

A.

kukX-04-4938-WJDF

B.

Kgyn-23-3978-Uhj6

C.

y7Ts-A34876-ASFr

D.

AGbe-23h-234-HBG6

Buy Now
Questions 9

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.

Buy Now
Questions 10

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 >

Buy Now
Questions 11

You create an interface for a touch-enabled application. You discover that some of the input buttons do not trigger when you tap them on the screen. You need to identify the cause of the problem. What are two possible causes? Choose 2.

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.

Buy Now
Questions 12

You need to define a grid that meets the following requirements:

• Explicitly sets the width of 6 equal columns of 1 fraction

• Explicitly sets 5 varied sized rows

• Defines 15px of space between each grid column

• Defines 10px between each grid row

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

INF-306 Question 12

Options:

Buy Now
Questions 13

The ctx variable is the context of an HTML5 canvas object. What does the following HTML markup draw?

ctx.arc(x, y, r, 0, Math.PI, true);

Options:

A.

A line from one point to another

B.

A square at the given point

C.

A circle at the given point

D.

A semicircle at the given point

Buy Now
Questions 14

Which value does the following JavaScript code fragment store in the variable num?

var num = localStorage.length;

Options:

A.

Number of bytes available in local storage

B.

Maximum length of a character string

C.

Potential capacity of local storage

D.

Number of key-value pairs in local storage

Buy Now
Questions 15

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.

INF-306 Question 15

Options:

Buy Now
Questions 16

You define the Pet class as follows:

class Pet {

constructor(name, breed) {

this.name = name;

this.breed = breed;

this.show = function() {

var text = " < p > Your pet ' s name is " + name + " . The pet ' s breed is " + breed + " . < /p > " ;

return text;

};

}

}

You need to derive a Dog class from the Pet class.

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

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

INF-306 Question 16

Options:

Buy Now
Questions 17

Move the appropriate attributes from the list on the left to the correct descriptions on the right. You may use each attribute once, more than once, or not at all.

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

INF-306 Question 17

Options:

Buy Now
Questions 18

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.

Buy Now
Questions 19

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;}

Buy Now
Questions 20

You need to create the following form:

INF-306 Question 20

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

INF-306 Question 20

Options:

Buy Now
Exam Code: INF-306
Exam Name: HTML5 Application Development
Last Update: May 11, 2026
Questions: 68

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now INF-306 testing engine

PDF (Q&A)

$43.57  $124.49
buy now INF-306 pdf