IT Specialist HTML5 Application Development - INF-306 Free Exam Questions

QUESTION NO: 1
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.
Correct Answer:

Explanation:
The first image has a brown/yellow vintage tone, which indicates the sepia(100%) CSS filter. Sepia converts the image colors into a warm monochrome effect commonly associated with aged photographs. The second image appears faded and washed out while retaining the same general image content, which corresponds to opacity(30%); this makes the image mostly transparent, allowing only 30 percent opacity. The third image shows the original beach image with a visible shadow offset behind it, so the correct filter is drop-shadow(8px
8px 10px black). The first two 8px values define the horizontal and vertical shadow offset, 10px defines the blur radius, and black defines the shadow color. saturate(100%) would leave saturation at its normal level and would not visibly create a special effect. grayscale(100%) would remove color entirely and produce a black- and-white image, which is not shown in the visible rows. References/topics: CSS filter property, image effects, sepia(), opacity(), drop-shadow(), graphical enhancement with CSS.
QUESTION NO: 2
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.
Correct Answer:

Explanation:
First drop-down: flex boxes
Second drop-down: background-size
Third drop-down: cover
The correct layout mechanism is responsive flex boxes because the content changes from a vertical mobile arrangement to a wider multi-column layout as space becomes available. Flexbox supports this behavior naturally through flexible item sizing and wrapping, often without needing explicit media queries for every screen size. The header image must fill its visible header region on both mobile and desktop. The correct CSS property for controlling how a background image scales inside its container is background-size. The correct value is cover, because background-size: cover scales the image so that the entire container is covered while preserving the image's aspect ratio. This prevents distortion, although some cropping can occur when the image and container have different aspect ratios. contain would preserve the full image but may leave empty space. auto would use the image's intrinsic size and would not reliably fill the header area. background- attachment, background-clip, and background-repeat do not control image scaling.
QUESTION NO: 3
Which JavaScript method is used to draw a circle on a canvas?

Correct Answer: A Vote an answer
Explanation: Only visible for Actual4test members. You can sign-up / login (it's free).
QUESTION NO: 4
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.
Correct Answer:

Explanation:
display: grid;
grid-template-columns: repeat(6, 1fr);
grid-template-rows: 50px 50px 150px 150px 100px;
grid-gap: 10px 15px;
The correct grid definition starts with display: grid;, which turns the element into a CSS Grid container. To explicitly create six equal-width columns, the correct property is grid-template-columns, and the most efficient value is repeat(6, 1fr). The repeat() function avoids writing 1fr six separate times, while 1fr assigns each column one equal fraction of the available grid width. The five row sizes must be explicitly declared with grid-template-rows, using the exact varied values shown: 50px 50px 150px 150px 100px. This creates five rows with fixed pixel heights. For the spacing requirement, grid-gap: 10px 15px; is the correct shorthand.
The first value controls the row gap, so rows are separated by 10px; the second value controls the column gap, so columns are separated by 15px. References/topics: CSS Grid containers, explicit grid tracks, grid-template- columns, grid-template-rows, repeat(), fractional units, grid gaps.
QUESTION NO: 5
You need to use CSS to create the layout shown:

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.
Correct Answer:

Explanation:
First blank: display: grid;
Second blank: grid-template-columns: auto auto auto auto;
Third blank: grid-gap: 10px;
The layout shown is a CSS Grid layout with eight items arranged into four equal-width columns and two rows. The first required declaration is display: grid;, which turns the .grid-container element into a grid container. The second declaration is grid-template-columns: auto auto auto auto;, which defines four columns, matching the four visible boxes in each row: Mickey, Minnie, Luna, and George on the first row, then Bilbo, Bella, Madeline, and Groucho on the second row. The third declaration is grid-gap: 10px;, which creates spacing between the grid cells, matching the visible blue gaps around each item. The background-color:
#336699; creates the blue container background, while padding: 10px; adds space around the outer edge of the grid. The child rule .grid-container > div styles each grid item with a light background, centered text, padding, and larger font size.
QUESTION NO: 6
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.
Correct Answer:

Explanation:
pattern # Provides a way to set a regular expression that the value must match placeholder # Provides a way to set default text that displays until focus is placed in an element required # Provides a way to set form elements as mandatory multiple # Provides a way to allow more than one file or email address in a single input The correct matches are based on standard HTML5 form validation and input-attribute behavior. The pattern attribute defines a regular expression that the input value must satisfy before the form can be submitted successfully. It is commonly used for structured values such as phone numbers, codes, postal formats, or custom identifiers. The placeholder attribute supplies short hint text inside an input field, helping the user understand the expected value before entering data. The required attribute makes a form control mandatory; if the field is empty, constraint validation prevents successful submission. The multiple attribute allows a single input to accept more than one value, specifically for controls such as input type= " file " and input type= " email " , where users may upload multiple files or enter multiple email addresses. The maxlength attribute is not used in these matches because it limits the maximum number of characters that can be entered, but none of the listed descriptions asks for character-length restriction. References/topics: HTML5 form attributes, constraint validation, pattern, placeholder, required, multiple, input validation.
QUESTION NO: 7
You create an interface for a touch-enabled application. Some input buttons do not trigger when tapped. What are two possible causes?

Correct Answer: C,D Vote an answer
Explanation: Only visible for Actual4test members. You can sign-up / login (it's free).

QUALITY AND VALUE

Actual4test Practice Exams are written to the highest standards of technical accuracy, using only certified subject matter experts and published authors for development - no all study materials.

Tested and Approved

We are committed to the process of vendor and third party approvals. We believe professionals and executives alike deserve the confidence of quality coverage these authorizations provide.

Easy to Pass

If you prepare for the exams using our Actual4test testing engine, It is easy to succeed for all certifications in the first attempt. You don't have to deal with all dumps or any free torrent / rapidshare all stuff.

Try Before Buy

Actual4test offers free demo of each product. You can check out the interface, question quality and usability of our practice exams before you decide to buy.