CSS-Styling Websites

CSS-Styling Websites

12th Grade

8 Qs

quiz-placeholder

Similar activities

Web Design CSS Lesson 3

Web Design CSS Lesson 3

9th - 12th Grade

5 Qs

CSS Summary

CSS Summary

12th Grade

12 Qs

CSS QUIZ NO. 5

CSS QUIZ NO. 5

9th - 12th Grade

10 Qs

HTML QUIZ

HTML QUIZ

9th - 12th Grade

5 Qs

DMI - CSS - 12MM

DMI - CSS - 12MM

12th Grade

11 Qs

Web Design CSS Lesson 4

Web Design CSS Lesson 4

9th - 12th Grade

6 Qs

HTML

HTML

7th Grade - University

10 Qs

Web Development Quiz

Web Development Quiz

12th Grade

10 Qs

CSS-Styling Websites

CSS-Styling Websites

Assessment

Quiz

Other

12th Grade

Hard

Created by

Angel Ligon

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid CSS rule?

h1 { color: blue; }

<h1> { color: blue; }

h1 { color="blue"; }

h1 { color=blue; }

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

CSS rules have a selector that defines which HTML elements the rule applies to.

We’ve learned about the following CSS Selectors:

  • Select by tag name

  • Select by class name

  • Select by id name

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


Select by tag name, select by class name, select by id name


Select by id name, select by tag name, select by class name


Select by id name, select by class name, select by tag name


Select by class name, select by id name, select by tag name

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements are true about styling your web pages with CSS:

I. Styling with CSS is more scalable than using style= on each HTML tag that you want to style
II. You can create styles with CSS that are not possible using style= on an HTML tag

I only

II only

I and II

None

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

Following CSS rules, what font color will the element be styled by the given CSS:

p tag is green, the class fire is red and the ID title is blue.

<h1 class="fire">Welcome!</h1>

red

green

blue

black

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Following CSS rules, what font color will the element be styled by the given CSS:

p tag is green, the class fire is red and the ID title is blue.

<p class="title">My First Paragraph</p>

red

green

blue

black

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Following CSS rules, what font color will the element be styled by the given CSS:

p tag is green, the class fire is red and the ID title is blue.

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

red

green

blue

black

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does CSS stand for?

Cascading Style Sheets

Cascading Summary Sheets

CSS