CSS Selectors

August 25, 2020 By Temani Afif

Login/Register to keep track of your score.

#1 Which of the following is an invalid selector?

#2 Which selector has the lowest specificity?

#3 How to select the “before the last” image inside a div?

#4 We can group different selectors using

#5 Which selector has the highest specificity?

#6 Which selector has the highest specificity?

#7 The > [greater-than symbol] is called

#8 Which of the following is a valid selector?

#9 Which selector has the lowest specificity?

#10 Which selector has the lowest specificity?

#11 The ~ [tilde symbol] is called

#12 How to target the content of the first line inside a div?

#13 How to target the content of the last line inside a div?

#14 Which of the following will select all the elements?

#15 Which of the following is a valid Pseudo-class?

I am done

Your Result

-

I am sure you will do better next time