Hi dear students please answers all questions as follows:-
-
The pseudo-class that selects even-numbered elements within its parent is:
a) :even
b) :nth-child(2n)
c) :even-child
d) :even-of-type -
The pseudo-class used to select the last element when it is being activated is:
a) :active
b) :focus
c) :last-child
d) :last-of-type -
Which of the following pseudo-classes selects an element when it is being hovered over by the cursor?
a) :hover
b) :active
c) :visited
d) :focus