CSS Pseudo-Class Selectors

CSS Pseudo-Class Selectors

10th Grade

10 Qs

quiz-placeholder

Similar activities

HTML Advanced

HTML Advanced

9th - 12th Grade

15 Qs

Maya 3D 2019 Interface

Maya 3D 2019 Interface

9th Grade - University

14 Qs

3.01: Vocabulary

3.01: Vocabulary

9th - 12th Grade

8 Qs

Word processing - selection

Word processing - selection

4th - 12th Grade

13 Qs

WEB: Unit 3 Lesson 3 CSS Selectors By Class

WEB: Unit 3 Lesson 3 CSS Selectors By Class

9th - 12th Grade

10 Qs

Programming - Basic File Handling Operations

Programming - Basic File Handling Operations

3rd - 11th Grade

10 Qs

Data validation and verification

Data validation and verification

7th - 11th Grade

10 Qs

Testing

Testing

KG - University

5 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?