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

INF-306 HTML5 Application Development Questions and Answers

Questions 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.

INF-306 Question 4

Options:

Buy Now
Questions 5

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

INF-306 Question 5

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.

INF-306 Question 5

Options:

Buy Now
Questions 6

You need to use a flexbox so that new content you add to the container appears at the highest point on a vertical list. You want to achieve this goal without specifying an order. Which value should you use for flex-direction?

Options:

A.

row

B.

row-reverse

C.

column

D.

column-reverse

Buy Now
Questions 7

You need to use CSS to create the layout shown:

INF-306 Question 7

Review the layout shown on the left.

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

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

INF-306 Question 7

Options:

Buy Now
Questions 8

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 9

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 9

Options:

Buy Now
Questions 10

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 11

Review the following markup segment:

< form action= " process.js " method= " get " >

< label for= " secretcode " > Secret Code < /label >

< input type= " text " name= " secretcode "

pattern= " [a-zA-Z]{4}-[0-9] {2}-[0-9]{4}-[a-zA-Z] {4} "

placeholder= " secretcode " >

< input type= " submit " value= " Submit " >

< /form >

Which entry will validate successfully according to the required pattern?

Options:

A.

Kgyn-23-3978-Uhj6

B.

y7Ts-A3-4876-ASFr

C.

AGbe-23h-234-HBG6

D.

kukX-34-4938-WJDF

Buy Now
Questions 12

You are drawing on the canvas defined by the white square.

INF-306 Question 12

At which x, y coordinate is the upper-left corner of the filled square?

Options:

A.

0,0

B.

0,50

C.

50,0

D.

50,50

Buy Now
Questions 13

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 13

Options:

Buy Now
Questions 14

You need to display the following user interface:

Motorcycle

Truck

Boat

Car

Bicycle

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

INF-306 Question 14

Options:

Buy Now
Questions 15

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 16

Which CSS property defines the sides of an element where other floating elements are not allowed?

Options:

A.

display

B.

clear

C.

float

D.

position

Buy Now
Questions 17

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.

INF-306 Question 17

Options:

Buy Now
Questions 18

You need to complete the code for a registration form that must meet the following criteria:

• The Password must be 6–8 characters long and use only letters and numbers.

• The Member ID must follow the pattern ###-##-###.

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

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

INF-306 Question 18

Options:

Buy Now
Questions 19

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.

INF-306 Question 19

Options:

Buy Now
Questions 20

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.

INF-306 Question 20

Options:

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

PDF + Testing Engine

$49.5  $164.99

Testing Engine

$37.5  $124.99
buy now INF-306 testing engine

PDF (Q&A)

$31.5  $104.99
buy now INF-306 pdf
dumpsmate guaranteed to pass

24/7 Customer Support

DumpsMate's team of experts is always available to respond your queries on exam preparation. Get professional answers on any topic of the certification syllabus. Our experts will thoroughly satisfy you.

Site Secure

mcafee secure

TESTED 24 May 2026