CSS Selectors

August 25, 2020 By Temani Afif

Login/Register to keep track of your score.

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

#2 We can group different selectors using

#3 Which selector has the lowest specificity?

#4 Which selector has the highest specificity?

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

#6 Which of the following will select nothing?

#7 Which of the following is an invalid selector?

#8 The ~ [tilde symbol] is called

#9 Which of the following is a valid selector?

#10 The * [asterisk symbol] is called

#11 How to select a div with no content?

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

#13 Which selector has the highest specificity?

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

#15 Which of the following is an invalid Pseudo-class?

I am done

Your Result

-

I am sure you will do better next time