CodeHS Unit 2 Retake Review

CodeHS Unit 2 Retake Review

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

CSS Practice Test

CSS Practice Test

12th Grade

10 Qs

CSS Tags

CSS Tags

12th Grade

10 Qs

CSS Tag

CSS Tag

12th Grade

10 Qs

HTML and CSS

HTML and CSS

9th - 10th Grade

12 Qs

CSS Rules Quiz-unit 4 CodeHS

CSS Rules Quiz-unit 4 CodeHS

7th Grade - University

7 Qs

HTML & CSS

HTML & CSS

10th - 12th Grade

12 Qs

HTML Basics

HTML Basics

7th - 10th Grade

10 Qs

Unit 5 - CSS Review

Unit 5 - CSS Review

9th - 12th Grade

11 Qs

CodeHS Unit 2 Retake Review

CodeHS Unit 2 Retake Review

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following ranks the CSS selectors from highest precedence to lowest precedence?

Class name

Tag name

ID name

Element name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: You can create static styles with inline style= (on HTML tags) that are not possible using CSS

True

False

Only in certain browsers

Only for specific HTML elements

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would the code be to select all <img> tags on a page and give them a height of 200 pixels?

img { height: 200px; }

img { height: 150px; }

img { height: auto; }

img { height: 100%; }

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you have the following CSS rules:

p {

color: green;

}

.fire {

color: red;

}

#title {

color: blue;

}

What font color will the following HTML element have after being styled by the given CSS:

<p class="fire" id="title">Hello World!</p>

Green

Red

Blue

Yellow

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the format for a CSS rule?

h1 {
color:blue;
}

h1 {
background-color:red;
}

h1 {
font-size:16px;
}

h1 {
margin:10px;
}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you have the following CSS rules:
p {
color: green;
}

.fire {
color: red;
}

#title {
color: blue;
}

What font color will the following HTML element have after being styled by the given CSS:
<h1 class="fire">Welcome!</h1>

Green

Red

Blue

Yellow

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: Styling with CSS is more scalable than using style= on each HTML tag that you want to style

True

False

CSS is less scalable

Both are equally scalable

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Suppose you have the following CSS rules:

p {
color: green;
}

.fire {
color: red;
}

#title {
color: blue;
}

What font color will the following HTML element have after being styled by the given CSS:
<p class="title">My First Paragraph</p>

Green

Red

Blue

Yellow