This selects the element that is at the root of the document specifically the element.
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
: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 Quizizz
10 questions
Programming - Arrays

Quiz
•
2nd - 12th Grade
15 questions
6th Grade Media Quiz

Quiz
•
KG - University
15 questions
Javascript

Quiz
•
10th - 12th Grade
11 questions
HTML Unit Quiz

Quiz
•
9th - 12th Grade
15 questions
Advanced HTML and CSS

Quiz
•
9th - 12th Grade
10 questions
Device Configurations and Management- Domain 2

Quiz
•
9th - 12th Grade
15 questions
Unity Interface Basics 101

Quiz
•
9th - 12th Grade
15 questions
WJEC GCSE ICT Unit 3 - Validation and Verification

Quiz
•
10th - 11th 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
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