Search Header Logo

CSS Styling Quiz

Authored by Erol Cakir

Computers

12th Grade

Used 2+ times

CSS Styling Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default margin and padding for the `body` element in the given CSS?

5px

0

10px

15px

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to create a shadow effect for the text in the `header` element?

box-shadow

text-shadow

shadow

filter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the color of the links (`a`) in their normal state?

#333

#4caf50

#e97911

White

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the effect applied to the `#gallery img` on hover?

Rotate

Scale

Opacity

Skew

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the background color of the `header` element?

#333

#4caf50

#e97911

#f3f3f3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the line-height set for the `body` element?

1.2

1.4

1.6

1.8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the border-radius applied to the `main` element?

5px

10px

15px

20px

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?