There are 6 unique types of selectors in CSS style rules: type, universal, ID, class, pseudo-class, and descendant. Can you identify and name the four different selectors used in these style rules?
#a1, .important { font-style:italic }
ol span { background-color:aqua }
a:hover { color:green }
I found the information on this website. http://www.w3.org/TR/CSS21/selector.html#simple-selector
The only selector I can guess is that
#a1
is a universal selector?
Can someone please explain this to me? Or direct me to a website that can guide me through this concept better as w3 wasn't helpful.