HTML Quiz 5

HTML Quiz 5

11th Grade

20 Qs

quiz-placeholder

Similar activities

Coding Karel 2

Coding Karel 2

KG - University

20 Qs

Rock cycle/classification

Rock cycle/classification

11th Grade

15 Qs

Inflation

Inflation

11th - 12th Grade

18 Qs

States of matter

States of matter

11th - 12th Grade

20 Qs

REVIEW LESSON: Earth's Subsystem and Biochemical Cycle

REVIEW LESSON: Earth's Subsystem and Biochemical Cycle

11th Grade

20 Qs

Bindi Irwin

Bindi Irwin

9th - 12th Grade

20 Qs

Math Quiz Prelims

Math Quiz Prelims

11th Grade

15 Qs

HE_1101: Quiz  #2

HE_1101: Quiz #2

11th Grade

20 Qs

HTML Quiz 5

HTML Quiz 5

Assessment

Quiz

11th Grade

Practice Problem

Medium

Created by

Christina Bright

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the box model for an element, the border

is outside the margin

is between the padding and the margin

is inside the padding

is outside the content

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

By default, the element in the box model is

as tall as the block that contains it

as wide as it needs to be for its contents

as tall as it needs to be for its contents

as wide as any inline element that contains it

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To calculate the height of a box when using the box model, you add the height of the content area to the sum of the heights of the

top and bottom margins and top and bottom padding

top and bottom borders, top and bottom margins, and top and bottom padding

top and bottom borders, top margin, and bottom margin

top and bottom borders, top padding, and bottom padding

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You use a reset selector to

set the margins and padding for all elements to zero

set inherited properties to their default values

set the font size for all text elements to their defaults

set the font family for all elements

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the code that follows

margin: 0 auto;

the auto keyword means

to automatically adjust the margins for the element whenever necessary

to center the element horizontally within the containing block

to center the element vertically within the containing block

to automatically align the element based on the size of the browser window

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The code that follows

padding: .5em 0 .25em;

applies this padding to an element:

5em above, 0 left, and .25em below

.5em above, 0 left and right, and .25em below

.5em above, 0 right, and .25em below

.5em above and below, 0 right, and .25em left

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The code that follows

border-style: solid none;

means that the box should have

a solid top border

solid top and bottom borders

solid borders on all four sides

solid borders on all four sides

Create a free account and access millions of resources

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?