CSS Review

CSS Review

10th Grade

25 Qs

quiz-placeholder

Similar activities

Units 6 & 7 Quiz

Units 6 & 7 Quiz

9th - 12th Grade

20 Qs

Market Failure

Market Failure

7th Grade - University

20 Qs

Excel Vocabulary

Excel Vocabulary

10th Grade

24 Qs

Microsoft Word 2016 Lesson 8

Microsoft Word 2016 Lesson 8

9th - 12th Grade

21 Qs

Stock Market Terms Study Guide

Stock Market Terms Study Guide

10th - 12th Grade

25 Qs

Investing - Unit Review (NGPF)

Investing - Unit Review (NGPF)

9th - 12th Grade

25 Qs

Logo Quiz 7

Logo Quiz 7

2nd - 12th Grade

20 Qs

UH 2 - Permintaan dan Penawaran

UH 2 - Permintaan dan Penawaran

10th Grade

20 Qs

CSS Review

CSS Review

Assessment

Quiz

Business

10th Grade

Practice Problem

Hard

Created by

Jennifer Hunt

FREE Resource

AI

Enhance your content in a minute

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

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