Pre-Summer Sale - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65percent

Welcome To DumpsPedia

INF-306 Sample Questions Answers

Questions 4

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.

Options:

Buy Now
Questions 5

You need to complete a postal code input form element (post_code). Include attributes to make the field mandatory, set the data type as text, and limit the input to five numeric digits.

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

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

Options:

Buy Now
Questions 6

Which two background graphics will automatically adjust to different screen sizes? Choose 2.

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

Options:

A.

< body style= " background:url(media/background.jpg); background-size:contain; background-repeat:no-repeat; " >

B.

< body style= " background:url(media/background.jpg); background-size:initial; background-repeat:no-repeat; " >

C.

< body style= " background:url(media/background.jpg); background-size:cover; background-repeat:no-repeat; " >

D.

< body style= " background:url(media/background.jpg); background-size:auto; background-repeat:no-repeat; " >

Buy Now
Questions 7

The following form is missing validation attributes:

< form >

< div class= " container " >

< h1 > Register Here < /h1 >

< p > Please fill in the details to create an account with us. < /p >

< hr >

< label for= " ? " > < b > Enter Email < /b > < /label >

< input type= " ? " placeholder= " Enter Email " name= " ? " placeholder= " username@domain.com " >

< label for= " ? " > < b > Password < /b > < /label >

< input type= " ? " placeholder= " Enter Password " name= " ? " >

< label for= " ? " > < b > Confirm Password < /b > < /label >

< input type= " ? " placeholder= " Confirm Password " name= " ? " >

< label for= " phone " > < b > Phone < /b > < /label >

< input type= " tel " id= " phone " name= " phone " placeholder= " 123-45-678 " >

< hr >

< p > By creating an account you agree to our < a href= " # " > Terms & Privacy < /a > . < /p >

< button type= " submit " class= " registerbtn " > < strong > Register < /strong > < /button >

< /div >

< /form >

You need to update the form to enforce the following requirements for visitors:

• All fields must be completed with valid information.

• The users should not be allowed to type passwords longer than 8 characters.

• Passwords must use only numbers and letters.

• Phone numbers and email addresses must follow the configuration of the placeholder text.

• The browser must display an error message that makes it clear what type of input change is needed.

Review the markup on the left.

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

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

Options:

Buy Now
Questions 8

Which two code segments declare a JavaScript method? Choose 2.

Options:

A.

var funct = (a);

B.

Score: function() { ... }

C.

this.Score = function() { ... }

D.

var a = Score();

Buy Now
Questions 9

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 10

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.

Options:

Buy Now
Questions 11

The logo shown is displayed on a web page as an SVG.

Note: The coordinate values are labeled for reference.

Evaluate the image on the left and complete the markup by selecting the correct option from each drop-down list.

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

Options:

Buy Now
Questions 12

You are creating the styling for your webpage. Which two CSS attributes produce a scroll bar if your content overflows its element? Choose 2.

Options:

A.

hidden

B.

scroll

C.

visible

D.

auto

Buy Now
Questions 13

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 14

You need to contain overflowing text inside the element ' s border without creating unneeded scrollbars or losing text. Which attribute setting should you use?

Options:

A.

overflow: hidden;

B.

overflow: auto;

C.

overflow: visible;

D.

overflow: scroll;

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

Options:

Buy Now
Questions 16

Which three methods are associated with the HTML5 localStorage API? Choose 3.

Options:

A.

setItem

B.

removeItem

C.

write

D.

cookie

E.

clear

Buy Now
Questions 17

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.

Options:

Buy Now
Questions 18

You need to create the following form:

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

Options:

Buy Now
Questions 19

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 20

Which two CSS segments are valid filter properties? Choose 2.

Options:

A.

filter: opacity(25%)

B.

filter: box-shadow(16px 24px 24px green)

C.

filter: blur(25deg)

D.

filter: drop-shadow(16px 16px 16px red)

Buy Now
Exam Code: INF-306
Exam Name: HTML5 Application Development
Last Update: May 30, 2026
Questions: 68
$64.4  $183.99
$49.35  $140.99
$44.8  $127.99
buy now INF-306