Which CSS selector applies to the bolded element(s) only?
P.a{ ... }
A{ ... }
A, ul{ ... }
#a{ ... }
None of the above
Rate this question:
Li a{ ... }
Li.a{ ... }
Li, a{ ... }
Li-a{ ... }
None of the above
Rate this question:
Div h1 + p { ... }
Div > h1 + p { ... }
H1 ~ p { ... }
Div h1 p { ... }
Rate this question:
.menu#ul a{ ... }
Ul.menu li a{ ... }
#header .a{ ... }
Div a{ ... }
None of the above
Rate this question:
@all{ ... }
*{ ... }
HTML{ ... }
#{ ... }
None of the above
Rate this question:
Div a{ ... }
Div + a{ ... }
Div a p{ ... }
Div > a{ ... }
None of the above
Rate this question:
Input@submit{ ... }
Input.submit{ ... }
Input.type=submit{ ... }
Input[type=submit]{ ... }
None of the above
Rate this question:
A.active{ ... }
#content .a{ ... }
P a#active{ ... }
Div p a{ ... }
None of the above
.content h1, a{ ... }
#content h1+a{ ... }
#conten h1, #content a{ ... }
#content h1 a { ... }
None of the above
Rate this question:
Quiz Review Timeline (Updated): Apr 17, 2024 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.