wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Web Development Tutorial 3 Quiz Review A

Total questions: 30

Worksheet time: 12mins

Name
Class
Date
1.

According to your textbook, desktop layouts are often based on grid layouts with _____ columns.

a)

1-3

b)

7-11

c)

4-6

d)

12 or more

2.

The ​​ (a)   value of the display style removes an element from a rendered page.

Choose from the below words
None
Null
Empty
Hide
3.

The _____ property allows one to define a rectangular region through which an element’s content can be viewed.

a)

Clip

b)

Box

c)

Rect

d)

Window

4.

The coordinates for an element being placed within a container need not be defined as long as its position is set to (a)   .

Choose from the below words
relative
absolute
inherit
fixed
5.

To create a drop cap, one can increase the font size of an element’s _____ and float it on the left margin.

a)

First line

b)

First character

c)

Last character

d)

Hover element

6.

In the z-index property, the value of _____ stacks the object using default rules.

a)

Left

b)

Auto

c)

Hidden

d)

None

7.

Browsers ignore any values specified for the left or top properties under _____ positioning.

a)

inherited

b)

absolute

c)

elastic

d)

static

8.

The _____ value of the overflow style keeps the element at a specified height and width, but cuts off excess content.

a)

scroll

b)

auto

c)

hidden

d)

visible

9.

Identify a grid-based style whose value is a space-separated list of column widths.

a)

grid-template-row

b)

grid-template-column

c)

track-list

d)

inline-list

10.

Identify the default type for the box-sizing property.

a)

border-box

b)

inherit

c)

initial

d)

content-box

11.

Which function allows you to switch between fixed and flexible track sizes?

a)

minmax(min, max)

b)

content: attr(attribute);

c)

grid-template-columns: width1 width2 ...;

d)

repeat(repeat, tracks)

12.

What is the value of the list-style that will cause no marker to be displayed?

a)

null

b)

none

c)

empty

d)

void

13.

_____, a principle of design, involves the distribution of elements.

a)

unity

b)

rhythm

c)

contrast

d)

balance

14.

Clipping can only be applied when an object is placed using _____ positioning.

a)

relative

b)

absolute

c)

static

d)

fixed

15.

All block elements, like the body element, have a default width of _____.

a)

100%

b)

0%

c)

50%

d)

25%

16.

Tablet layouts are based on grids of _____ columns.

a)

1-3

b)

4-12

c)

0

d)

12 or more

17.

Identify the property that is used to choose the layout model.

a)

box-sizing

b)

vertical-align

c)

outline-style

d)

columns

18.

Drop caps look better if the first letter’s _____.

a)

line height is increased

b)

width is increased

c)

line height is decreased

d)

width is decreased

19.

The following expression creates a layout consisting of one fixed column 350 pixels in width followed by _____ for a total of five grid columns.

grid-template-columns: 350px repeat(2, 2fr 1fr);

a)

two sets of two columns in which the first column in each set is twice the width of the second column

b)

one pair of columns in which the first column is twice the width of the second column

c)

two sets of two columns in which the columns in the first set are twice the width of those in the second set

d)

one column 500px in width and one column 350px in width

20.

A _____ layout is one in which the size of the web page and the size of its elements are set regardless of the screen resolution.

a)

fixed

b)

liquid

c)

fluid

d)

static

21.

A layout challenge that occurs when an element contains only floated content and thus collapses in height.

a)

open container

b)

container collapse

c)

container recycle

d)

empty container

22.

In the z-index: value; property, value is a(n) _____.

a)

fraction

b)

decimal

c)

integer

d)

imaginary number

23.

Scroll bars for overflow content are usually placed _____ so that one can scroll down to view the extra content

a)

horizontally

b)

vertically

c)

both

d)

neither

24.

Which of the following can be used to express value in the outline-width property outline-width: value;?

a)

dotted

b)

thick

c)

dashed

d)

double

25.

In a fixed layout, the size of the page and the size of the page elements are usually fixed using _____ as the unit of measure.

a)

pixels

b)

ems

c)

fractions

d)

percentages

26.

A(n) _____ is a line drawn around an element, enclosing the element content, padding, and border spaces.

a)

border

b)

padding

c)

margin

d)

outline

27.

A(n) _____ supersedes a browser's default styles and provides a consistent starting point for page design.

a)

base style

b)

browser style

c)

inherited style

d)

reset style

28.

A _____ layout sets the width of page elements as a percent of the available screen width.

a)

​fixed layout

b)

fluid layout

c)

standard layout

d)

stationary layout

29.

Some designers propose the use of a(n) _____ layout in which all measurements are expressed relative to the default font size using the em unit.

a)

elastic

b)

liquid

c)

fixed

d)

fluid

30.

Identify the default clear value that allows an element to be displayed alongside any floated objects.

a)

clear: none;

b)

clear: left;

c)

clear: right;

d)

clear: both;