Which of the following is the correct CSS syntax to change the background color of a paragraph?

3RDQTR QUIZ NO.2

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
SANCHA ENAJE
Used 11+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
{background-color: red;}
p {background-color: red;}
p: background-color = red;
p[background-color: red]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you include an external CSS file in an HTML document?
<style src="styles.css">
<css href="styles.css">
<link rel="stylesheet" type="text/css" href="styles.css">
<script src="styles.css">
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is the correct way to apply a class selector in CSS?
.classname
#classname
classname
classname()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct syntax to make all <h1> elements bold using CSS?
h1 {font-weight: bold;}
h1: bold;
h1 {text-style: bold;}
h1 {font-bold: true;}
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which property is used to change the text color in CSS?
color
text-color
font-color
text-style
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you select an element with the ID header in CSS?
header
.header
#header
@header
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the * (asterisk) selector do in CSS?
Selects all elements on the page
Selects all child elements of the parent
Selects all elements with a specific class
Selects only the body element
Create a free account and access millions of resources
Similar Resources on Quizizz
25 questions
Asesmen Microsoft Word

Quiz
•
10th Grade
22 questions
MS Excel

Quiz
•
4th Grade - University
30 questions
Materi Google Form (KuisOnline)

Quiz
•
10th Grade - University
30 questions
EVALUASI TENGAH SEMESTER GENAP

Quiz
•
10th Grade - University
25 questions
Av1 - Revisão (parte nota 1)sobre HTML e CSS

Quiz
•
2nd Grade - University
30 questions
Quiz Bootstrap

Quiz
•
10th Grade
25 questions
Code.org lesson 3 and 4 quiz

Quiz
•
7th Grade - University
25 questions
Introduction to MS - Excel

Quiz
•
9th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Information Technology (IT)
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University