CSS Pseudo-Class Selectors

Quiz
•
Computers
•
10th Grade
•
Hard
DEMETRIO MACALALAD
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This selects the element that is at the root of the document specifically the element.
:first-child
:last-child
:nth-child()
:root
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selects the last element within a parent.
:last-child
:first-child
:nth-child()
:nth-last-child()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selects elements based on a provided algebraic expression (e.g. “2n” or “4n-1”).
:nth-of-type()
:nth-child()
:last-child
:root
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selects the first element within a parent.
:nth-child()
:first-of-type
:last-child
:first-child
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Selects the element if and only if it is one of its kind within the current parent.
:only-of-type
:nth-of-type()
:first-of-type
:last-of-type
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Works like :nth-child, but it is used in places where the elements at the same level are of different types.
:nth-of-type( )
:first-of-type
:nth-child( )
:last-of-type
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This works like :nth-of-type, but it counts up from the bottom
instead of the top.
:nth-child( )
:nth-of-type-reverse
:last-of-type
:nth-last-of-type( )
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
CodeHS Advanced HTML/CSS Review

Quiz
•
9th - 12th Grade
7 questions
псевдоклассы / псевдоэлементы & ?

Quiz
•
9th - 12th Grade
10 questions
Illustrator Quiz 2

Quiz
•
7th - 11th Grade
10 questions
Pointing Devices

Quiz
•
6th - 10th Grade
10 questions
Von Neumann Architecture

Quiz
•
8th Grade - University
10 questions
Device Configurations and Management- Domain 2

Quiz
•
9th - 12th Grade
11 questions
Computer Hardware - Storage Devices

Quiz
•
2nd - 12th Grade
10 questions
Photopea

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade