Question · HTML and CSS course · Module 3: CSS Basics
Highest selector specificity
Which of the following selectors has the highest specificity?
Answer options
- Element selector (p)
- Class selector (.box)
- ID selector (#main)
- Universal selector (*)
You can check the correct answer by solving this task in the CodeWorlds game.