wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Lesson 6: Managing Text Flow by Using CSS

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

CSS Regions is similar to which of the following?

a)

a grid layout

b)

a magazine page layout

c)

a free-floating toolbar

d)

a vector image

2.

Which of the following is true of CSS Regions?

a)

Are useful for static Web pages

b)

Are defined areas of an HTML document where content can flow

c)

Does not allow for non-contiguous content flow between regions

d)

Does not adapt to a user's screen size

3.

3. What is the error in the following CSS Regions code?

#source { flow-into: main; }

.region { flow-from: container; background: #9ACD32; }

a)

The flow-from and flow-into property values must match.

b)

The #source selector needs to be region.

c)

The .region selector must be @region.

d)

The flow-into and flow-from code lines are in the wrong order.

4.

Which of the following makes a container a region and associates it with a named flow?

a)

the DOM

b)

content source

c)

flow-into property

d)

flow-from property

5.

Which of the following can place an element into a named flow?

a)

the DOM

b)

content container

c)

flow-into property

d)

flow-from property

6.

In CSS Regions, which of the following is not flexible?

a)

region height

b)

region width

c)

content flow

d)

none of the above

7.

When you have multiple sources and multiple elements, what controls the order in which content appears in a CSS Regions container?

a)

the DOM

b)

content container

c)

flow-into property

d)

flow-from property

8.

You are creating a multi-column layout. Which CSS property controls the amount of space between columns?

a)

column-count

b)

column-gap

c)

column-fill

d)

column-width

9.

You are creating a multi-column layout. Which CSS property controls the amount of space within columns?

a)

column-count

b)

column-gap

c)

column-fill

d)

column-width

10.

You are creating a multi-column layout. Which CSS property enables you to insert a break within a column?

a)

break-after

b)

break-before

c)

break-inside

d)

break-within

11.

You are creating a multi-column layout. Which CSS property enables you to set the line that appears between columns to a dashed line? (Choose all that apply.)

a)

column-rule

b)

column-rule-width

c)

column-rule-style

d)

column-gap

12.

In the following code for multiple columns, what does the auto value control?

.tricolumn { columns: 3 auto; }

a)

column height

b)

column width

c)

number of columns

d)

background color of columns

13.

You do not want hyphens to appear in your HTML document. How can you modify the following code to prevent hyphenation?

<p style="-ms-hyphens: auto; text-align: justify; font-size: 14pt;">

a)

Change text-align to nohyphen.

b)

Change font-size to 12pt.

c)

Change auto to manual.

d)

Change auto to none.

14.

Which of the following specifies the maximum number of consecutive hyphenated lines that may contain hyphenated words?

a)

-ms-hyphenate-limit-chars

b)

-ms-hyphenate-limit-zone

c)

-ms-hyphenate-limit-lines

d)

none of the above

15.

Which CSS3 property creates the general shape of a CSS exclusion?

a)

shape-outside

b)

shape-inside

c)

wrap-flow

d)

wrap-through

16.

Which CSS3 property specifies how content should wrap around an exclusion element?

a)

shape-outside

b)

shape-inside

c)

wrap-flow

d)

wrap-through

17.

17. Which of the following is a shorthand method of setting the CSS Exclusions wrap-margin wrap-flow, and wrap-padding properties in one declaration?

a)

wrap-through

b)

wrap

c)

shape

d)

shape-outside

18.

18. You are creating a CSS exclusion and want to display content above and below the exclusion but leave the sides blank. Which of the following properties do you use?

a)

wrap-flow: clear

b)

wrap-flow: auto

c)

wrap-flow: maximum

d)

wrap-flow: end

19.

You are creating a multi-column layout and want the number of columns to be flexible, based on a column width of 30em. Which of the following will accomplish this goal?

a)

{ columns: 30em auto; }

b)

{ columns: auto 30em; }

c)

{ column-count: auto; }

d)

{ column-width: auto; }

20.

Which of the following requires the use of iframes in Microsoft’s implementation of the feature?

a)

multi-column layout

b)

hyphenation

c)

CSS Regions

d)

CSS Exclusions