CSS Review

CSS Review

10th Grade

•

25 Qs

quiz-placeholder

Similar activities

Microsoft Word Shortcut Keys Quiz

Microsoft Word Shortcut Keys Quiz

9th - 12th Grade

•

20 Qs

Kuis DPK 1

Kuis DPK 1

10th Grade

•

20 Qs

What is the Stock Market and how does it work?

What is the Stock Market and how does it work?

9th - 12th Grade

•

20 Qs

CHALLENGE QUIZ

CHALLENGE QUIZ

9th - 12th Grade

•

20 Qs

Foundations of Marketing

Foundations of Marketing

9th - 12th Grade

•

20 Qs

PS2018 CR3a Notes

PS2018 CR3a Notes

8th - 12th Grade

•

20 Qs

CompuScholar Chapter 2 Exam

CompuScholar Chapter 2 Exam

9th - 12th Grade

•

20 Qs

Perniagaan T4 (Bab 1)

Perniagaan T4 (Bab 1)

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