Which of the following is a valid CSS rule?
CSS

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Mayada Magdy
Used 6+ times
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
1 min • 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
1 min • 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
1 min • 1 pt
Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels?
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose you have the following CSS rules:
red
green
blue
black
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose you have the following CSS rules:
red
green
blue
black
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose you have the following CSS rules:
red
green
blue
black
Similar Resources on Quizizz
12 questions
HTML & CSS

Quiz
•
10th - 12th Grade
10 questions
Information Technology

Quiz
•
11th Grade
10 questions
CSS & Adv HTML

Quiz
•
9th - 12th Grade
10 questions
CSS Selectors

Quiz
•
11th Grade
7 questions
Introduction to HTML/CSS Quiz 3: Basic CSS

Quiz
•
6th - 12th Grade
12 questions
JavaScript Practices #5

Quiz
•
12th Grade
11 questions
Cascading Style Sheets

Quiz
•
8th - 12th Grade
12 questions
Quiz PWPB XI RPL

Quiz
•
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