CSS Quiz 1

CSS Quiz 1

Professional Development

15 Qs

quiz-placeholder

Similar activities

Introduction to Hyperconverged: HCI 101

Introduction to Hyperconverged: HCI 101

Professional Development

10 Qs

ER Model

ER Model

Professional Development

10 Qs

Software Security

Software Security

University - Professional Development

10 Qs

C Programming

C Programming

Professional Development

10 Qs

Advance MS Excel Tips and Tricks

Advance MS Excel Tips and Tricks

Professional Development

10 Qs

C

C

Professional Development

20 Qs

Interesting Bird Facts

Interesting Bird Facts

KG - Professional Development

11 Qs

machineLearning Test

machineLearning Test

Professional Development

20 Qs

CSS Quiz 1

CSS Quiz 1

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

DOK Level 2: Skill/Concept, DOK Level 3: Strategic Thinking

Standards-aligned

Created by

Max Rolseth

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following properties is used to set the space between the content and the border of an element in the CSS Box Model?

margin

padding

border

width

Tags

DOK Level 2: Skill/Concept

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a Flexbox layout, which property is used to define the alignment along the main axis?

align-items

justify-content

flex-direction

flex-wrap

Tags

DOK Level 2: Skill/Concept

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which CSS property is used to change the text color of an element?

font-color

text-color

color

text-style

Tags

DOK Level 2: Skill/Concept

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct CSS selector for selecting all <p>

elements inside a <div> element?

div p

div > p

div + p

div ~ p

Tags

DOK Level 2: Skill/Concept

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the `@media` rule in CSS?

To apply styles to different media types/devices

To import external CSS files

To define keyframe animations

To create CSS variables

Tags

DOK Level 2: Skill/Concept

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Given the following CSS code, what will be the background color of the <div> element?

```div { background-color: red; } div:hover { background-color: blue; } ```

Red

Blue

Red when hovered, Blue otherwise

Blue when hovered, Red otherwise

Tags

DOK Level 3: Strategic Thinking

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you create a responsive layout that changes from a single column to a two-column layout when the screen width is 600px or more?

Use `@media` rule with `flexbox`

Use `@media` rule with `grid`

Use `@media` rule with `float`

Use `@media` rule with `position`

Tags

DOK Level 3: Strategic Thinking

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?