CSS Review

CSS Review

10th Grade

25 Qs

quiz-placeholder

Similar activities

Business Communications

Business Communications

9th - 12th Grade

20 Qs

Excel Formulas and Functions Quiz

Excel Formulas and Functions Quiz

10th Grade

20 Qs

Advanced Database Features

Advanced Database Features

9th - 12th Grade

27 Qs

adobe photoshop 2015 certification quiz 2

adobe photoshop 2015 certification quiz 2

9th - 12th Grade

20 Qs

InDesign Certification Prep #1

InDesign Certification Prep #1

9th - 12th Grade

28 Qs

Excel Lesson 6 Quiz

Excel Lesson 6 Quiz

9th - 12th Grade

24 Qs

2016 MSITA WORD Lesson 7 & 8 Vocats Review

2016 MSITA WORD Lesson 7 & 8 Vocats Review

9th - 12th Grade

26 Qs

LearnUp@Tally-5

LearnUp@Tally-5

10th Grade - Professional Development

25 Qs

CSS Review

CSS Review

Assessment

Quiz

Business

10th Grade

Hard

Created by

Jennifer Hunt

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which rule will italicize the header when the user moves the mouse pointer over it?

h1:active { header: italic; }

h1:hover { header: italic; }

text:hover { font-style: italic; }

header:active { text: italic; }

h1:hover { font-style: italic; }

Answer explanation

The correct rule to italicize the header when the user hovers over it is 'h1:hover { font-style: italic; }'.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which rule will change the background color of the div to blue when the user clicks on it?

div:hover { background-color: blue; }

div:hover { color: blue; }

div:active { color: blue; }

div:active { background-color: blue; }

div:active { backgroundColor: blue; }

Answer explanation

The correct rule to change the background color of the div to blue when the user clicks on it is div:active { background-color: blue; }.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which code snippet demonstrates an example of internal styling?

<body style="background-color: blue;">

<p style="color:green;">Here is a list of rainy day activities for you to enjoy!</p>

</body>

<link rel="stylesheet" href="styles.css">

<style>

body {background-color: blue;}

p {color: green;}

</style>

<link rel="stylesheet”

href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu"crossorigin="anonymous">

Answer explanation

The correct choice is the code snippet enclosed within the