Search Header Logo

HTML L6 Quiz

Authored by Christina Bright

11th - 12th Grade

Used 7+ times

HTML L6 Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you set the float property for a block element to left, the elements that follow it will flow into the space

to the left of the floated element

to the right of the floated element

to the left of the floated element if there’s enough space

to the right of the floated element if there’s enough space

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following techniques can you NOT use to create a two-column layout?

Code the first column before the second column and then float the first column to the left.

Code the first column before the second column and then float both columns to the left.

Code the columns in any order and then float both columns to the left.

Code the columns in any order and then float the first column to the left and the second column to the right.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For a two-column layout where the main content is fluid and the aside is fixed, you use CSS to

set the body width to a percent and don’t set the main width

set the body width to a fixed width and set the main width to a percent

set both the body and main widths to percents

set the body width to fixed width and don’t set a main width

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the HTML for a three-column layout, an aside, a main element, and another aside are coded within a body element. Then, to use floating to lay out the main and aside elements in sequence from left to right on a web page, you can use CSS to

float the first aside to the left

float the first aside to the left and the second aside to the right

float the both asides and the main content to the left

float the main content in the center and let the asides flow around it

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you use the float property for page layout, you should also set

the width of the floated elements

the height of the floated elements

the margins and padding of the floated elements

the width and height of the floated elements

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If you want to use floating for a 3-column page layout that consists of an aside, a main element, and another aside, you need to set

the width of body element to a percent

the width of the body element and one or more of the contained elements to percents

the width all of the contained elements to percents

the width of the body element and all of the contained elements to percents

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When you use floating for a two-column, fixed width page layout, you need to

make sure the column elements are tall enough for their contents

float both columns to either the right or left

make sure the body element is wide enough for the columns

float just the second column element to the right

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?