Which of the following is a valid CSS rule?
Web Design: Pop Quiz

Quiz
•
Computers
•
10th - 12th Grade
•
Hard

Leng Kai Ooi
Used 35+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
h1 {
color: blue;
}
<h1> {
color: blue;
}
h1 {
color="blue";
}
h1 {
color=blue;
}
2.
MULTIPLE CHOICE QUESTION
45 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
45 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
Neither I nor II
4.
MULTIPLE CHOICE QUESTION
45 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
45 sec • 1 pt
red
green
blue
black
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
red
blue
green
black
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is the proper format for an HTML tag?
>h1<Content Affected by Tag >/h1<
<h1>Content Affected by Tag<h1>
<h1 Content Affected by Tag />
<h1>Content Affected by Tag</h1>
Create a free account and access millions of resources
Similar Resources on Quizizz
9 questions
HTML Basics

Quiz
•
9th Grade - Professio...
15 questions
Web Design #3

Quiz
•
9th - 12th Grade
12 questions
PROVA PARANÁ - PENSAMENTO COMPUTACIONAL | REVISÃO ENSINO MÉDIO 1

Quiz
•
10th Grade
15 questions
HTML

Quiz
•
9th - 12th Grade
15 questions
HTML (basics)

Quiz
•
10th Grade
12 questions
Review for CSS Test

Quiz
•
9th - 12th Grade
11 questions
Basic HTML Tags I

Quiz
•
9th - 12th Grade
12 questions
Web Development

Quiz
•
8th - 10th Grade
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 Computers
17 questions
Chapter 12 - Doing the Right Thing

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

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

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