CSS Pseudo-Class Selectors

CSS Pseudo-Class Selectors

10th Grade

10 Qs

quiz-placeholder

Similar activities

Device Configurations and Management- Domain 2

Device Configurations and Management- Domain 2

9th - 12th Grade

10 Qs

Python Quiz

Python Quiz

9th - 10th Grade

9 Qs

Unity Interface Basics 101

Unity Interface Basics 101

9th - 12th Grade

15 Qs

HTML Advanced

HTML Advanced

9th - 12th Grade

15 Qs

1st Pre-Test of Excel Shortcut

1st Pre-Test of Excel Shortcut

10th Grade - University

12 Qs

Advanced HTML and CSS

Advanced HTML and CSS

9th - 12th Grade

15 Qs

3.01: Vocabulary

3.01: Vocabulary

9th - 12th Grade

8 Qs

TLE 10 ICT - Recall

TLE 10 ICT - Recall

10th Grade

10 Qs

CSS Pseudo-Class Selectors

CSS Pseudo-Class Selectors

Assessment

Quiz

Computers

10th Grade

Hard

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?