Spring Sale 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Changed INF-306 Exam Questions

Page: 3 / 5
Total 68 questions

HTML5 Application Development Questions and Answers

Question 9

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.

Options:

Question 10

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

Options:

A.

setItem

B.

removeItem

C.

write

D.

cookie

E.

clear

Question 11

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:

Question 12

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.

Page: 3 / 5
Total 68 questions