Search Header Logo

CSS Post test Module 15

Authored by DEMETRIO MACALALAD

Computers

10th Grade

Used 2+ times

CSS Post test Module 15
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the outline property do in CSS?

Adds space inside an element

Adds space outside an element

Draws a line around an element, outside the border

Changes the width of an element

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which property is used to add space inside an element, between the content and the border?

Margin

Border

Padding

Outline

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the default value of the box-sizing property?

border

Content-area

Box-size

border-box

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

How do you set the width of an element to 100 pixels in CSS?

width: 100%;

width: 100em;

width: 100px;

width: auto;

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which property would you use to add space outside an element?

Width

Outline

Margin

Padding

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the padding: 10px 20px; declaration do?

Sets 20px padding on left and right, and 10px on top and bottom

Sets 10px padding on top and bottom, and 20px on left and right

Sets 30px padding on all sides

Sets 10px padding on left and right, and 20px on top and bottom

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a valid value for the outline-style property?

solid

dashed

dotted

spaced

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?