:checked
E~F
::after
None of the options
ID selector
Class selector
Group selector
Universal selector
Selects all elements
Selects all siblings after a specified element
Selects only the first sibling of a specified element
Selects only the last sibling of a specified element
:focus
:active
:hover
:visited
Combinator selector
Pseudo Class selector
Pseudo elements selector
Attribute selector
input.required
input[required]
input(required)
input::required
:valid
:required
:optional
:invalid
class
id
type
None of the above
Name
ID
Class
Tag
Match the CSS Attribute Selector with Its Function
A → 2, B → 5, C → 3, D → 4
A → 2, B → 6, C → 3, D → 4
A → 5, B → 1, C → 3, D → 4
A → 2, B → 1, C → 3, D → 4
tag
div
Universal Selector (*)
Tag Selector
Class Selector
ID Selector
Tag > Class > ID
Class > Tag > ID
ID > Class > Tag
Universal > ID > Class
h1 h2 h3
h1+h2+h3
h1,h2,h3
h1>h2>h3
focus
hover
active
checked
article
html
Match the CSS User Action Pseudo-Class with Its Effect
A → 4, B → 3, C → 2, D → 1
A →5, B → 4, C → 3, D → 2
A → 6, B → 2, C → 3, D → 4
A → 5, B → 2, C → 3, D → 6
mouse over
mouse hover
mouse move
content p
p.content
.content > p
p .content
Selects the first child of an element
Selects all sibling elements
Selects the immediately next sibling of an element
Selects the parent of an element
[attr]
[attr=""]
[attr=*]
attr[ ]
~
>
+
*
:target
:selection
::selection
URO
:nth-child(last)
:last-child
:only-child
:nth-last-child(1)
ul > li
ul li
ul + li
ul ~ li
Match the CSS Selector with Its Description
A →1, B →5, C → 3, D → 4
A → 2, B → 3, C → 1, D → 4
A → 2, B → 6, C → 4, D → 3
A → 5, B → 3, C → 2, D → 4
Match the CSS Sub-Selector with Its Meaning
A → 2, B → 1, C → 3, D → 6
:default
:%
:disabled
None of these
h1.hover
h1*hover
h1:hover
h1-hover
:root
:nth-of-type(n)
none of the mentioned
E[attr^=value]
E[attr$=value]
E[attr*=value]
E ~ F
both class and tag
E.class
E,F,G
:element
:empty
:enabled
.example
#example
element.example
example
input:checked
input:focus
input:hover
input:active
#classname
.classname
element.classname
*classname
.(dot)
# (hash)
* (asterisk)
@ (at sign)
E#id
.class
#id