Review for CSS Test

Review for CSS Test

9th - 12th Grade

12 Qs

quiz-placeholder

Similar activities

7.02 going online

7.02 going online

4th - 9th Grade

10 Qs

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

EMPTECH L4 Q3

EMPTECH L4 Q3

12th Grade

10 Qs

Microcontroller

Microcontroller

11th Grade - University

10 Qs

Input, output and storage de

Input, output and storage de

8th Grade - Professional Development

14 Qs

MODULE 9 PRE-TEST

MODULE 9 PRE-TEST

10th Grade

10 Qs

9G4 CS Python Programming Sequence and Vocabs

9G4 CS Python Programming Sequence and Vocabs

9th Grade

13 Qs

ULANGAN HARIAN Semester 2

ULANGAN HARIAN Semester 2

10th Grade

12 Qs

Review for CSS Test

Review for CSS Test

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Hard

Created by

Thelesa Williams

Used 46+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Why do we use CSS?

Easily modify the look and feel of a web site even at a large scale

Separate the content of a web page from the design of a web page

HTML wasn’t intended to be able to style web pages, CSS allows us to add style

All of the above

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a valid CSS rule?

h1 {

color: blue;

}

style="color:blue;"

h1 {

color {

blue;

}

}

css="color:blue;"

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a valid CSS rule?

<h1> {

color: orange

}

h1 {

color: orange;

}

h1

<color="orange">

h1 {

color="orange";

}

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following code snippets will select all HTML elements with the class “alert” and set their color to be red?

#alert {

color: red;

}

class="alert" {

color: red;

}

alert {

color: red;

}

.alert {

color: red;

}

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following CSS rules will select the HTML element with the id logo and set the font size for that element to 60 pixels?

.logo {

font-size: 60px;

}

#logo {

font-size: 60px;

}

id="logo" {

font-size: 60px

}

logo {

font-size: 60px;

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the function of the Cascade in CSS?

The Cascade will make sure there are no typos in your CSS rules.

The Cascade determines which CSS rules will be applied when multiple rules for an item are contradictory.

The Cascade helps you write styling for your websites quickly by providing easy templates to use.

The Cascade is a set of guidelines to make your site look beautiful.

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?

tag="img" {

height: 200px;

}

<img> {

height: 200px;

}

<img style="height:200px;">

img {

height: 200px;

}

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?