Web Design CSS Lesson 5

Web Design CSS Lesson 5

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

QUIS Software Pemformatan Buku Digital

QUIS Software Pemformatan Buku Digital

10th Grade

10 Qs

HTML (10--16)

HTML (10--16)

9th Grade

14 Qs

Modifier 59 (Part A)

Modifier 59 (Part A)

12th Grade - Professional Development

10 Qs

Vocabulary Power 1 ch 2

Vocabulary Power 1 ch 2

9th - 10th Grade

12 Qs

Classifications of Colleges/Universities

Classifications of Colleges/Universities

9th - 12th Grade

10 Qs

Мультимедиа на веб-страницах

Мультимедиа на веб-страницах

11th Grade

10 Qs

Quiz 1

Quiz 1

11th Grade

10 Qs

Exámen- Unidad 3- Páginas Web

Exámen- Unidad 3- Páginas Web

12th Grade

14 Qs

Web Design CSS Lesson 5

Web Design CSS Lesson 5

Assessment

Quiz

Other

9th - 12th Grade

Hard

Created by

Steven Wills

FREE Resource

AI

Enhance your content

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

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use CSS?

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

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

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

All of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid CSS rule?

h1 {

color: blue;

}

stylew="color:blue;"

css="color:blue;"

h1 { color { blue; } }

3.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

Cascading Style Sheets. The language for designing web pages and adding style.

4.

MULTIPLE CHOICE QUESTION

30 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?

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

tag="img" { height: 200px; }

img { height: 200px; }

<img> { height: 200px; }

5.

MULTIPLE CHOICE QUESTION

30 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; }

.alert { color: red; }

#alert { color: red; }

class="alert" { color: red; }

6.

MULTIPLE CHOICE QUESTION

30 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; }

#logo { font-size: 60px; }

id="logo" { font-size: 60px; }

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the function of the Cascade in CSS?

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

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 will make sure there are no typos in your CSS rules.

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False: In the case that two conflicting rules have the same order and specificity, the rule that is written first will be applied.

true

false

9.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In what order does the Cascade look at factors to determine which CSS rule to follow?

Order, Importance, Specificity

Importance, Order, Specificity

Specificity, Importance, Order

Importance, Specificity, Order